Moai SDK
1.5 revision 1 (MoaiEdition)
|
Function List | |
setDrawCallback | |
setRect | |
setRectCallback | |
setTotalRectCallback |
Sets the callback to be issued when draw events occur. The callback's parameters are ( number index, number xOff, number yOff, number xScale, number yScale ).
function setDrawCallback ( MOAIScriptDeck self, function callback )
self | ( MOAIScriptDeck ) |
callback | ( function ) |
Set the model space dimensions of the deck's default rect.
function setRect ( MOAIScriptDeck self, number xMin, number yMin, number xMax, number yMax )
self | ( MOAIScriptDeck ) |
xMin | ( number ) |
yMin | ( number ) |
xMax | ( number ) |
yMax | ( number ) |
Sets the callback to be issued when the size of a deck item needs to be determined. The callback's parameters are ( number index ).
function setRectCallback ( MOAIScriptDeck self, function callback )
self | ( MOAIScriptDeck ) |
callback | ( function ) |
Sets the callback to be issued when the size of a deck item needs to be determined. The callback's parameters are ( ).
function setTotalRectCallback ( MOAIScriptDeck self, function callback )
self | ( MOAIScriptDeck ) |
callback | ( function ) |