Dart Documentationorson_chartsStroke

Stroke class

Represents a line style for drawing on a canvas.

Constructors

new Stroke(num lineWidth) #

Creates a new Stroke instance with the specified line width.

Properties

LineCap lineCap #

The line cap style (defaults to LineCap.ROUND).

List<num> lineDash #

The line dash array (defaults to 1.0).

num lineDashOffset #

The line dash offset (defaults to 0.0).

LineJoin lineJoin #

The line join style (defaults to LineJoin.ROUND).

num lineWidth #

The line width (defaults to 1.0).

num miterLimit #

The miter limit (defaults to 1.0).