TexturedLine(List<Point> points, List<Color> colors, List<double> widths, [ Texture texture, List<double> textureStops ])

Creates a new TexturedLine.

Source

TexturedLine(List<Point> points, List<Color> colors, List<double> widths, [Texture texture, List<double> textureStops]) {
  painter = new TexturedLinePainter(points, colors, widths, texture, textureStops);
}