DrawingParameters class

Drawing parameters for each element of the Vector

Constructors

DrawingParameters({Color fillColor, Color strokeColor, double strokeWidth, StrokeCap strokeLineCap, StrokeJoin strokeLineJoin, Offset translate, double strokeLineMiterLimit, List<double> transformMatrixValues })
Constructor : all values are optional. fillColor (Color) : Fill color : null for the absence of fill color. strokeColor (Color) : Stroke color: null for the absence of stroke color. strokeWidth (double) strokeLineCap (StrokeCap) : Stroke line cap : null for the absence of stroke line cap. strokeLineJoin (StrokeJoin) : Stroke line join : null for the absence of stroke line join. strokeLineMiterLimit (double) : Stroke line miter limit translate (Offset) : Translation of the element : null for the absence of translation. transformMatrix (Float64List) : Transform matrix of the element : null for the absence of transform matrix.

Properties

fillColor Color
Fill color : null for the absence of fill color.
read / write
strokeColor Color
Stroke color: null for the absence of stroke color.
read / write
strokeLineCap StrokeCap
Stroke line cap : null for the absence of stroke line cap.
read / write
strokeLineJoin StrokeJoin
Stroke line join : null for the absence of stroke line join.
read / write
strokeLineMiterLimit ↔ double
Stroke line miter limit
read / write
strokeWidth ↔ double
Stroke width
read / write
transformMatrix ↔ Float64List
Transform matrix of the element : null for the absence of transform matrix.
read / write
translate Offset
Translation of the element : null for the absence of translation.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() → String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited