LineSegmentInt

data class LineSegmentInt(val start: Point, val end: Point) : Parcelable

Represents a line segment in 2D space.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(start: Point, end: Point)

Properties

Link copied to clipboard
val end: Point

End point of the segment.

Link copied to clipboard

Start point of the segment.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject