EllipseNode constructor

EllipseNode({
  1. String? type,
  2. ArcData? arcData,
  3. EllipseNode clone()?,
  4. Constraints? constraints,
  5. Object? cornerRadius,
  6. num? cornerSmoothing,
  7. ReadonlyArray<Annotation>? annotations,
  8. Vector? targetAspectRatio,
  9. void lockAspectRatio()?,
  10. void unlockAspectRatio()?,
})

Implementation

factory EllipseNode({
  _i2.String? type,
  _i3.ArcData? arcData,
  _i3.EllipseNode Function()? clone,
  _i3.Constraints? constraints,
  _i2.Object? cornerRadius,
  _i2.num? cornerSmoothing,
  _i4.ReadonlyArray<_i3.Annotation>? annotations,
  _i3.Vector? targetAspectRatio,
  void Function()? lockAspectRatio,
  void Function()? unlockAspectRatio,
}) =>
    EllipseNode._(
      type: type,
      arcData: arcData ?? _i7.undefined,
      clone: clone == null ? null : _i5.allowInterop(clone),
      constraints: constraints ?? _i7.undefined,
      cornerRadius: cornerRadius ?? _i7.undefined,
      cornerSmoothing: cornerSmoothing,
      annotations: annotations ?? _i7.undefined,
      targetAspectRatio: targetAspectRatio ?? _i7.undefined,
      lockAspectRatio:
          lockAspectRatio == null ? null : _i5.allowInterop(lockAspectRatio),
      unlockAspectRatio: unlockAspectRatio == null
          ? null
          : _i5.allowInterop(unlockAspectRatio),
    );