Name | Description | |
---|---|---|
init | Initializes the rectangle with the given x, y, width and height values. |
Name | Description | |
---|---|---|
height | Gets or sets the height value. | |
width | Gets or sets the width value. | |
x | Gets or sets the X value. | |
y | Gets or sets the Y value. |
Name | Description | |
---|---|---|
equals | Indicates whether the specified rectangle is equal to the current rectangle. | |
fromJObject | Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class. | |
toJSON | Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class. |