Bounds

@Serializable
data class Bounds(val x: Double, val y: Double, val width: Double, val height: Double)

Represents the rectangular boundaries of an element within a document.

Constructors

Link copied to clipboard
constructor(x: Double, y: Double, width: Double, height: Double)

Properties

Link copied to clipboard

The height of the rectangle.

Link copied to clipboard

The width of the rectangle.

Link copied to clipboard
val x: Double

The x-coordinate of the top-left corner of the rectangle.

Link copied to clipboard
val y: Double

The y-coordinate of the top-left corner of the rectangle.