ShapeEntity_ShapeStyle constructor

ShapeEntity_ShapeStyle({
  1. ShapeEntity_ShapeStyle_RGBAColor? fill,
  2. ShapeEntity_ShapeStyle_RGBAColor? stroke,
  3. double? strokeWidth,
  4. ShapeEntity_ShapeStyle_LineCap? lineCap,
  5. ShapeEntity_ShapeStyle_LineJoin? lineJoin,
  6. double? miterLimit,
  7. double? lineDashI,
  8. double? lineDashII,
  9. 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;
}