GeometryMixin constructor

GeometryMixin({
  1. Object? strokeCap,
  2. num? strokeMiterLimit,
  3. VectorPaths? fillGeometry,
  4. VectorNode? outlineStroke()?,
  5. ReadonlyArray<Object>? strokes,
  6. String? strokeStyleId,
  7. Object? strokeWeight,
  8. Object? strokeJoin,
  9. StrokeAlign? strokeAlign,
  10. ReadonlyArray<num>? dashPattern,
  11. VectorPaths? strokeGeometry,
  12. Future<void> setStrokeStyleIdAsync(
    1. String
    )?,
  13. Object? fills,
  14. Object? fillStyleId,
  15. Future<void> setFillStyleIdAsync(
    1. String
    )?,
})

Implementation

factory GeometryMixin({
  _i2.Object? strokeCap,
  _i2.num? strokeMiterLimit,
  _i3.VectorPaths? fillGeometry,
  _i3.VectorNode? Function()? outlineStroke,
  _i4.ReadonlyArray<_i2.Object>? strokes,
  _i2.String? strokeStyleId,
  _i2.Object? strokeWeight,
  _i2.Object? strokeJoin,
  _i3.StrokeAlign? strokeAlign,
  _i4.ReadonlyArray<_i2.num>? dashPattern,
  _i3.VectorPaths? strokeGeometry,
  _i2.Future<void> Function(_i2.String)? setStrokeStyleIdAsync,
  _i2.Object? fills,
  _i2.Object? fillStyleId,
  _i2.Future<void> Function(_i2.String)? setFillStyleIdAsync,
}) =>
    GeometryMixin._(
      strokeCap: strokeCap ?? _i7.undefined,
      strokeMiterLimit: strokeMiterLimit,
      fillGeometry: fillGeometry ?? _i7.undefined,
      outlineStroke: outlineStroke == null
          ? null
          : _i5.allowInterop(() => () => outlineStroke() ?? _i7.undefined),
      strokes: strokes ?? _i7.undefined,
      strokeStyleId: strokeStyleId,
      strokeWeight: strokeWeight ?? _i7.undefined,
      strokeJoin: strokeJoin ?? _i7.undefined,
      strokeAlign: strokeAlign?.name ?? _i7.undefined,
      dashPattern: dashPattern ?? _i7.undefined,
      strokeGeometry: strokeGeometry ?? _i7.undefined,
      setStrokeStyleIdAsync: setStrokeStyleIdAsync == null
          ? null
          : _i5.allowInterop(setStrokeStyleIdAsync),
      fills: fills ?? _i7.undefined,
      fillStyleId: fillStyleId ?? _i7.undefined,
      setFillStyleIdAsync: setFillStyleIdAsync == null
          ? null
          : _i5.allowInterop(setFillStyleIdAsync),
    );