contour

fun Circle.contour(segments: Int, theta: Double = 0.0): ShapeContour(source)

Convert Circle to ShapeContour with a number of segments equal to segments

Parameters

segments

the number of segments, at least 4

theta

the starting angle of the circle, in degrees


fun Ellipse.contour(segments: Int, theta: Double = 0.0): ShapeContour(source)

Convert Ellipse to ShapeContour with a number of segments equal to segments

Parameters

segments

the number of segments, at least 4

theta

the starting angle of the ellipse, in degrees