TexturedLinePainter constructor

TexturedLinePainter(List<Offset> _points, List<Color> colors, List<double> widths, [ SpriteTexture texture, List<double> textureStops ])

Creates a painter that draws a polyline with a texture.

Implementation

TexturedLinePainter(this._points, this.colors, this.widths, [SpriteTexture texture, this.textureStops]) {
  this.texture = texture;
}