LineSegmentFloat

data class LineSegmentFloat(val start: PointF, val end: PointF) : Parcelable

Represents a line segment in 2D space.

Constructors

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

Properties

Link copied to clipboard
val end: PointF

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