ContourPoint

data class ContourPoint(contour: ShapeContour, contourT: Double, segment: Segment, segmentT: Double, position: Vector2)

Representation of a point on a ShapeContour.

Parameters

contour

The ShapeContour on which the point lies.

contourT

The t value of the point on the ShapeContour in the range of 0.0 to 1.0.

segment

The Segment on which the point lies.

segmentT

The t value of the point on the Segment in the range of 0.0 to 1.0.

position

The position of the point.

Constructors

ContourPoint
Link copied to clipboard
common
fun ContourPoint(contour: ShapeContour, contourT: Double, segment: Segment, segmentT: Double, position: Vector2)

Properties

contour
Link copied to clipboard
common
val contour: ShapeContour
contourT
Link copied to clipboard
common
val contourT: Double
position
Link copied to clipboard
common
val position: Vector2
segment
Link copied to clipboard
common
val segment: Segment
segmentT
Link copied to clipboard
common
val segmentT: Double