Rectangle

An area within an image.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@SerializedName(value = "bottom")
@Expose
open var bottom: Double
The Y coordinate of the bottom edge of the rectangle, measured in the image's natural units.
Link copied to clipboard
@SerializedName(value = "left")
@Expose
open var left: Double
The X coordinate of the left edge of the rectangle, measured in the image's natural units.
Link copied to clipboard
@SerializedName(value = "message")
@Expose
open var message: Message
Encapsulates a message intended to be read by the end user.
Link copied to clipboard
@SerializedName(value = "properties")
@Expose
open var properties: PropertyBag
Key/value pairs that provide additional information about the object.
Link copied to clipboard
@SerializedName(value = "right")
@Expose
open var right: Double
The X coordinate of the right edge of the rectangle, measured in the image's natural units.
Link copied to clipboard
@SerializedName(value = "top")
@Expose
open var top: Double
The Y coordinate of the top edge of the rectangle, measured in the image's natural units.

Functions

Link copied to clipboard
open fun equals(other: Any): Boolean
Link copied to clipboard
abstract fun getProperties(): PropertyBag
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
abstract fun setProperties(<set-?>: PropertyBag)
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun updateProperties(mutator: (in PropertyBag) -> Unit)
Link copied to clipboard
open fun withBottom(bottom: Double): Rectangle
Link copied to clipboard
open fun withLeft(left: Double): Rectangle
Link copied to clipboard
open fun withMessage(message: Message): Rectangle
Link copied to clipboard
open fun withProperties(properties: PropertyBag): Rectangle
Link copied to clipboard
open fun withRight(right: Double): Rectangle
Link copied to clipboard
open fun withTop(top: Double): Rectangle