CanvasPathDrawingStyles constructor
CanvasPathDrawingStyles({
- CanvasLineCap? lineCap,
- num? lineDashOffset,
- CanvasLineJoin? lineJoin,
- num? lineWidth,
- num? miterLimit,
- List<
num> getLineDash()?,
Implementation
factory CanvasPathDrawingStyles({
_i3.CanvasLineCap? lineCap,
_i2.num? lineDashOffset,
_i3.CanvasLineJoin? lineJoin,
_i2.num? lineWidth,
_i2.num? miterLimit,
_i2.List<_i2.num> Function()? getLineDash,
}) =>
CanvasPathDrawingStyles._(
lineCap: lineCap?.name ?? _i6.undefined,
lineDashOffset: lineDashOffset,
lineJoin: lineJoin?.name ?? _i6.undefined,
lineWidth: lineWidth,
miterLimit: miterLimit,
getLineDash: getLineDash == null ? null : _i4.allowInterop(getLineDash),
);