DrawingParameters constructor
DrawingParameters({})
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.
Implementation
DrawingParameters(
{this.fillColor,
this.strokeColor,
this.strokeWidth,
this.strokeLineCap,
this.strokeLineJoin,
this.translate,
this.strokeLineMiterLimit,
List<double>? transformMatrixValues})
: transformMatrix = convertListIntoMatrix4(transformMatrixValues);