Rectangle

@JsonClass(generateAdapter = true)
data class Rectangle(    @Json(name = "bottom") val bottom: Double? = null,     @Json(name = "left") val left: Double? = null,     @Json(name = "message") val message: Message? = null,     @Json(name = "properties") val properties: PropertyBag? = null,     @Json(name = "right") val right: Double? = null,     @Json(name = "top") val top: Double? = null)

An area within an image.

Constructors

Link copied to clipboard
fun Rectangle(    @Json(name = "bottom") bottom: Double? = null,     @Json(name = "left") left: Double? = null,     @Json(name = "message") message: Message? = null,     @Json(name = "properties") properties: PropertyBag? = null,     @Json(name = "right") right: Double? = null,     @Json(name = "top") 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.

Sources

Link copied to clipboard