Rect

data class Rect(val x: Double, val y: Double, val width: Double, val height: Double)

Describes the size and position of a rectangle.

Constructors

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

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

The height of the Rect.

Link copied to clipboard

The width of the Rect.

Link copied to clipboard
val x: Double

The x coordinate of the Rect's origin.

Link copied to clipboard
val y: Double

The y coordinate of the Rect's origin