ShapeEntity_ShapeStyle constructor
ShapeEntity_ShapeStyle({
- ShapeEntity_ShapeStyle_RGBAColor? fill,
- ShapeEntity_ShapeStyle_RGBAColor? stroke,
- double? strokeWidth,
- ShapeEntity_ShapeStyle_LineCap? lineCap,
- ShapeEntity_ShapeStyle_LineJoin? lineJoin,
- double? miterLimit,
- double? lineDashI,
- double? lineDashII,
- double? lineDashIII,
Implementation
factory ShapeEntity_ShapeStyle({
ShapeEntity_ShapeStyle_RGBAColor? fill,
ShapeEntity_ShapeStyle_RGBAColor? stroke,
$core.double? strokeWidth,
ShapeEntity_ShapeStyle_LineCap? lineCap,
ShapeEntity_ShapeStyle_LineJoin? lineJoin,
$core.double? miterLimit,
$core.double? lineDashI,
$core.double? lineDashII,
$core.double? lineDashIII,
}) {
final _result = create();
if (fill != null) {
_result.fill = fill;
}
if (stroke != null) {
_result.stroke = stroke;
}
if (strokeWidth != null) {
_result.strokeWidth = strokeWidth;
}
if (lineCap != null) {
_result.lineCap = lineCap;
}
if (lineJoin != null) {
_result.lineJoin = lineJoin;
}
if (miterLimit != null) {
_result.miterLimit = miterLimit;
}
if (lineDashI != null) {
_result.lineDashI = lineDashI;
}
if (lineDashII != null) {
_result.lineDashII = lineDashII;
}
if (lineDashIII != null) {
_result.lineDashIII = lineDashIII;
}
return _result;
}