Implement StrokeFill and StrokeOutline modes.