Properties
Link copied to clipboard
An empty ShapeContour object.
Functions
Link copied to clipboard
fun fromPoints(points: List<Vector2>, closed: Boolean, polarity: YPolarity = YPolarity.CW_NEGATIVE_Y): ShapeContour
Creates a ShapeContour from a list of points, specifying whether the contour is closed and its y-axis polarity.
Link copied to clipboard
fun fromSegments( segments: List<Segment2D>, closed: Boolean, polarity: YPolarity = YPolarity.CW_NEGATIVE_Y, distanceTolerance: Double = 0.001): ShapeContour
Creates a new ShapeContour object from a list of Segment2D objects.