hasCurves property

bool hasCurves

Indicates if the part contains any curve segments.

Prior to v100.12, if this property returned true, there was no way to access the curve segment information contained by the part. Retrieving the Segment instances of the part would return only LineSegment instances.

From v100.12, when this property returns true, curve segments may be returned from ImmutablePart.getSegment. A part may contain a mix of linear and curve segments.

Implementation

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