Moai SDK
1.5 revision 1 (MoaiEdition)
|
Function List | |
getRect | |
setRect | |
setScissorRect |
Return the extents of the scissor rect.
function getRect ( MOAIScissorRect self )
self | ( MOAIScissorRect ) |
Sets the extents of the scissor rect.
function setRect ( number x1, number y1, number x2, number y2 )
x1 | ( number ) The X coordinate of the rect's upper-left point. |
y1 | ( number ) The Y coordinate of the rect's upper-left point. |
x2 | ( number ) The X coordinate of the rect's lower-right point. |
y2 | ( number ) The Y coordinate of the rect's lower-right point. |
Set or clear the parent scissor rect.
function setScissorRect ( MOAIProp self [, MOAIScissorRect parent ] )
self | ( MOAIProp ) |
parent | ( MOAIScissorRect ) Optional. Default value is nil. |