Package-level declarations
Types
Link copied to clipboard
Adjusts ShapeContour using an accessible interface.
Link copied to clipboard
Link copied to clipboard
class ContourAdjusterStatus(val contour: ShapeContour, val selectedSegments: List<Segment2D>, val selectedPoints: List<Vector2>)
Link copied to clipboard
Link copied to clipboard
data class ContourEdge(val contour: ShapeContour, val segmentIndex: Int, val adjustments: List<SegmentOperation> = emptyList())
Helper for querying and adjusting ShapeContour.
Link copied to clipboard
Link copied to clipboard
class SegmentAdjustments(val replacements: List<Triple<Int, Segment2D, Segment2D>>, val operations: List<SegmentOperation>)
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Build a contour adjuster
Link copied to clipboard
fun adjustContourSequence(contour: ShapeContour, adjuster: ContourAdjuster.() -> Sequence<ContourAdjusterStatus>): Sequence<ContourAdjusterStatus>