Rect

open class Rect : TBase<T, F> , Serializable, Cloneable, Comparable<T>

Constructors

Link copied to clipboard
constructor()
constructor(x: Int, y: Int, w: Int, h: Int)
constructor(other: Rect)
Performs a deep copy on other.

Types

Link copied to clipboard
enum _Fields : TFieldIdEnum
The set of fields this struct contains, along with convenience methods for finding and manipulating them.

Properties

Link copied to clipboard
open var h: Int
Link copied to clipboard
val metaDataMap: Map<Rect._Fields, FieldMetaData>
Link copied to clipboard
open var w: Int
Link copied to clipboard
open var x: Int
Link copied to clipboard
open var y: Int

Functions

Link copied to clipboard
open fun clear()
Link copied to clipboard
open fun compareTo(other: Rect): Int
Link copied to clipboard
open fun deepCopy(): Rect
Link copied to clipboard
open fun equals(that: Rect): Boolean
open fun equals(that: Any): Boolean
Link copied to clipboard
open fun fieldForId(fieldId: Int): Rect._Fields
Link copied to clipboard
open fun getFieldValue(field: Rect._Fields): Any
Link copied to clipboard
open fun getH(): Int
Link copied to clipboard
open fun getW(): Int
Link copied to clipboard
open fun getX(): Int
Link copied to clipboard
open fun getY(): Int
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun isSet(field: Rect._Fields): Boolean
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
Link copied to clipboard
open fun isSetH(): Boolean
Returns true if field h is set (has been assigned a value) and false otherwise
Link copied to clipboard
open fun isSetW(): Boolean
Returns true if field w is set (has been assigned a value) and false otherwise
Link copied to clipboard
open fun isSetX(): Boolean
Returns true if field x is set (has been assigned a value) and false otherwise
Link copied to clipboard
open fun isSetY(): Boolean
Returns true if field y is set (has been assigned a value) and false otherwise
Link copied to clipboard
open fun read(iprot: TProtocol)
Link copied to clipboard
open fun setFieldValue(field: Rect._Fields, value: Any)
Link copied to clipboard
open fun setH(h: Int): Rect
Link copied to clipboard
open fun setHIsSet(value: Boolean)
Link copied to clipboard
open fun setW(w: Int): Rect
Link copied to clipboard
open fun setWIsSet(value: Boolean)
Link copied to clipboard
open fun setX(x: Int): Rect
Link copied to clipboard
open fun setXIsSet(value: Boolean)
Link copied to clipboard
open fun setY(y: Int): Rect
Link copied to clipboard
open fun setYIsSet(value: Boolean)
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun unsetH()
Link copied to clipboard
open fun unsetW()
Link copied to clipboard
open fun unsetX()
Link copied to clipboard
open fun unsetY()
Link copied to clipboard
open fun validate()
Link copied to clipboard
open fun write(oprot: TProtocol)