Rectangle

@Serializable
data class Rectangle(val bottom: Double? = null, val left: Double? = null, val message: Message? = null, val properties: PropertyBag? = null, val right: Double? = null, val top: Double? = null)

An area within an image.

Constructors

Link copied to clipboard
constructor(bottom: Double? = null, left: Double? = null, message: Message? = null, properties: PropertyBag? = null, right: Double? = null, top: Double? = null)

Properties

Link copied to clipboard
val bottom: Double? = null

The Y coordinate of the bottom edge of the rectangle, measured in the image's natural units.

Link copied to clipboard
val left: Double? = null

The X coordinate of the left edge of the rectangle, measured in the image's natural units.

Link copied to clipboard
val message: Message? = null

A message relevant to the rectangle.

Link copied to clipboard
val properties: PropertyBag? = null

Key/value pairs that provide additional information about the rectangle.

Link copied to clipboard
val right: Double? = null

The X coordinate of the right edge of the rectangle, measured in the image's natural units.

Link copied to clipboard
val top: Double? = null

The Y coordinate of the top edge of the rectangle, measured in the image's natural units.