Constructors
constructor
- new ImageRectangle(left: number, top: number, right: number, bottom: number): ImageRectangle
-
Parameters
-
left: number
-
top: number
-
right: number
-
bottom: number
Methods
getBottom
- getBottom(): number
-
Returns number
getLeft
- getLeft(): number
-
Returns number
getRight
- getRight(): number
-
Returns number
getTop
- getTop(): number
-
Returns number
isValid
- isValid(): boolean
-
Returns boolean
isValidAllowEmpty
- isValidAllowEmpty(): boolean
-
Returns boolean
Tile image rectangle with integer dimensions