LineSegmentInt

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

Represents a line segment in 2D space.

Constructors

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

Types

Link copied to clipboard
object Companion

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
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JsonObject
Link copied to clipboard
fun toJsonString(config: ToJsonConfiguration = ToJsonConfiguration.default()): String