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.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strokeColor Color?
Stroke color: null for the absence of stroke color.
getter/setter pair
strokeLineCap StrokeCap?
Stroke line cap : null for the absence of stroke line cap.
getter/setter pair
strokeLineJoin StrokeJoin?
Stroke line join : null for the absence of stroke line join.
getter/setter pair
strokeLineMiterLimit double?
Stroke line miter limit
getter/setter pair
strokeWidth double?
Stroke width
getter/setter pair
transformMatrix Float64List?
Transform matrix of the element : null for the absence of transform matrix.
getter/setter pair
translate Offset?
Translation of the element : null for the absence of translation.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited