hasCurves property

bool hasCurves

True if the part contains any curve segments, false otherwise.

Both linear segments (represented by LineSegment) and curve segments (represented by CubicBezierSegment or EllipticArcSegment) are supported in a MutablePart. This property returns true if any curve segments (Segment.isCurve is true) are currently present in this part.

Implementation

bool get hasCurves {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_MutablePart_getHasCurves(
      _handle,
      errorHandler,
    );
  });
}