Constructors
constructor
- new Rect(x, y, w, h): Rect
Parameters
x: number
y: number
w: number
h: number
Methods
clip
- clip(r, out?): void
Returns void
copy
- copy(c): void
Returns void
setRect
- setRect(x?, y?, w?, h?): void
Parameters
x: number = ...
y: number = ...
w: number = ...
h: number = ...
Returns void
矩形