hasCurves property

bool get 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.