BlackRook constructor
BlackRook({
- double size = 45.0,
size (double) : default to 45.0
Implementation
BlackRook({double size = 45.0})
: super(
baseImageSize: 45.0,
requestSize: size,
painter:
VectorImagePainter(vectorDefinition: <VectorDrawableElement>[
VectorImageGroup(
children: <VectorDrawableElement>[
VectorImagePathDefinition(
path: "M 9,39 L 36,39 L 36,36 L 9,36 L 9,39 z ",
drawingParameters:
DrawingParameters(strokeLineCap: StrokeCap.butt)),
VectorImagePathDefinition(
path:
"M 12.5,32 L 14,29.5 L 31,29.5 L 32.5,32 L 12.5,32 z ",
drawingParameters:
DrawingParameters(strokeLineCap: StrokeCap.butt)),
VectorImagePathDefinition(
path: "M 12,36 L 12,32 L 33,32 L 33,36 L 12,36 z ",
drawingParameters:
DrawingParameters(strokeLineCap: StrokeCap.butt)),
VectorImagePathDefinition(
path:
"M 14,29.5 L 14,16.5 L 31,16.5 L 31,29.5 L 14,29.5 z ",
drawingParameters: DrawingParameters(
strokeLineCap: StrokeCap.butt,
strokeLineJoin: StrokeJoin.miter)),
VectorImagePathDefinition(
path:
"M 14,16.5 L 11,14 L 34,14 L 31,16.5 L 14,16.5 z ",
drawingParameters:
DrawingParameters(strokeLineCap: StrokeCap.butt)),
VectorImagePathDefinition(
path:
"M 11,14 L 11,9 L 15,9 L 15,11 L 20,11 L 20,9 L 25,9 L 25,11 L 30,11"
" L 30,9 L 34,9 L 34,14 L 11,14 z ",
drawingParameters:
DrawingParameters(strokeLineCap: StrokeCap.butt),
),
VectorImagePathDefinition(
path: "M 12,35.5 L 33,35.5 L 33,35.5",
drawingParameters: DrawingParameters(
fillColor: null,
strokeColor: Colors.white,
strokeWidth: 1.0,
strokeLineJoin: StrokeJoin.miter),
),
VectorImagePathDefinition(
path: "M 13,31.5 L 32,31.5",
drawingParameters: DrawingParameters(
fillColor: null,
strokeColor: Colors.white,
strokeWidth: 1.0,
strokeLineJoin: StrokeJoin.miter),
),
VectorImagePathDefinition(
path: "M 14,29.5 L 31,29.5",
drawingParameters: DrawingParameters(
fillColor: null,
strokeColor: Colors.white,
strokeWidth: 1.0,
strokeLineJoin: StrokeJoin.miter),
),
VectorImagePathDefinition(
path: "M 14,16.5 L 31,16.5",
drawingParameters: DrawingParameters(
fillColor: null,
strokeColor: Colors.white,
strokeWidth: 1.0,
strokeLineJoin: StrokeJoin.miter),
),
VectorImagePathDefinition(
path: "M 11,14 L 34,14",
drawingParameters: DrawingParameters(
fillColor: null,
strokeColor: Colors.white,
strokeWidth: 1.0,
strokeLineJoin: StrokeJoin.miter),
),
],
drawingParameters: DrawingParameters(
fillColor: Colors.black,
strokeColor: Colors.black,
strokeWidth: 1.5,
strokeLineCap: StrokeCap.round,
strokeLineJoin: StrokeJoin.round,
strokeLineMiterLimit: 4.0))
]));