Package-level declarations

Functions

Link copied to clipboard
fun ShapeContour.offset(distance: Double, joinType: SegmentJoin = SegmentJoin.ROUND): ShapeContour

Offsets a ShapeContour's Segments by given distance.

fun Segment2D.offset(distance: Double, stepSize: Double = 0.01, yPolarity: YPolarity = YPolarity.CW_NEGATIVE_Y): List<Segment2D>
Link copied to clipboard
fun Segment2D.reduced(stepSize: Double = 0.01): List<Segment2D>
Link copied to clipboard
fun Segment2D.scale(scale: Double, polarity: YPolarity): Segment2D
fun Segment2D.scale(polarity: YPolarity, scale: (Double) -> Double): Segment2D