|
|
Line 1: |
Line 1: |
| __NOTOC__ | | __NOTOC__ |
| <!-- GIDEROSOBJ:Sprite --> | | <!-- GIDEROSOBJ:Sprite --> |
− | '''<translate>Supported platforms</translate>:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]]<br/> | + | '''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]]<br/> |
− | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | + | '''Available since:''' Gideros 2011.6<br/> |
− | '''<translate>Inherits from</translate>:''' [[Special:MyLanguage/EventDispatcher|EventDispatcher]]<br/> | + | '''Inherits from:''' [[EventDispatcher]]<br/> |
| | | |
| === Description === | | === Description === |
Line 14: |
Line 14: |
| A Sprite instance can exist without attaching the scene tree. | | A Sprite instance can exist without attaching the scene tree. |
| | | |
− | An unattached sprite can receive [[Special:MyLanguage/Event.ENTER_FRAME|Event.ENTER_FRAME]] event but it will only receive mouse and touch events when it is attached to the scene tree. | + | An unattached sprite can receive [[Event.ENTER_FRAME]] event but it will only receive mouse and touch events when it is attached to the scene tree. |
| | | |
| {|- | | {|- |
| | style="width: 50%; vertical-align:top;"| | | | style="width: 50%; vertical-align:top;"| |
− | === <translate>Methods</translate> === | + | === Methods === |
− | [[Special:MyLanguage/Sprite.new|Sprite.new]] ''<translate>creates a new Sprite object</translate>''<br/><!-- GIDEROSMTD:Sprite.new() creates a new Sprite object --> | + | [[Sprite.new]] ''creates a new Sprite object''<br/><!-- GIDEROSMTD:Sprite.new() creates a new Sprite object --> |
− | [[Special:MyLanguage/Sprite:addChild|Sprite:addChild]] ''<translate>adds a sprite as a child</translate>''<br/><!-- GIDEROSMTD:Sprite:addChild(child) adds a sprite as a child --> | + | [[Sprite:addChild]] ''adds a sprite as a child''<br/><!-- GIDEROSMTD:Sprite:addChild(child) adds a sprite as a child --> |
− | [[Special:MyLanguage/Sprite:addChildAt|Sprite:addChildAt]] ''<translate>add a sprite as a child at the index position specified</translate>''<br/><!-- GIDEROSMTD:Sprite:addChildAt(child,index) add a sprite as a child at the index position specified --> | + | [[Sprite:addChildAt]] ''add a sprite as a child at the index position specified''<br/><!-- GIDEROSMTD:Sprite:addChildAt(child,index) add a sprite as a child at the index position specified --> |
− | [[Special:MyLanguage/Sprite:clearBlendMode|Sprite:clearBlendMode]] ''<translate>clears the blending mode</translate>''<br/><!-- GIDEROSMTD:Sprite:clearBlendMode() clears the blending mode --> | + | [[Sprite:clearBlendMode]] ''clears the blending mode''<br/><!-- GIDEROSMTD:Sprite:clearBlendMode() clears the blending mode --> |
− | [[Special:MyLanguage/Sprite:contains|Sprite:contains]] ''<translate>determines whether the specified sprite is contained in the subtree of this sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:contains(child) determines whether the specified sprite is contained in the subtree of this sprite --> | + | [[Sprite:contains]] ''determines whether the specified sprite is contained in the subtree of this sprite''<br/><!-- GIDEROSMTD:Sprite:contains(child) determines whether the specified sprite is contained in the subtree of this sprite --> |
− | [[Special:MyLanguage/Sprite:get|Sprite:get]] ''<translate>gets the specified property by its name</translate>''<br/><!-- GIDEROSMTD:Sprite:get(param) gets the specified property by its name --> | + | [[Sprite:get]] ''gets the specified property by its name''<br/><!-- GIDEROSMTD:Sprite:get(param) gets the specified property by its name --> |
− | [[Special:MyLanguage/Sprite:getAlpha|Sprite:getAlpha]] ''<translate>returns the alpha transparency of this sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:getAlpha() returns the alpha transparency of this sprite --> | + | [[Sprite:getAlpha]] ''returns the alpha transparency of this sprite''<br/><!-- GIDEROSMTD:Sprite:getAlpha() returns the alpha transparency of this sprite --> |
− | [[Special:MyLanguage/Sprite:getAnchorPosition|Sprite:getAnchorPosition]] ''<translate>Returns anchor position of Sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:getAnchorPosition() Returns anchor position of Sprite --> | + | [[Sprite:getAnchorPosition]] ''Returns anchor position of Sprite''<br/><!-- GIDEROSMTD:Sprite:getAnchorPosition() Returns anchor position of Sprite --> |
− | [[Special:MyLanguage/Sprite:getBounds|Sprite:getBounds]] ''<translate>returns the bounds as it appears in another sprite's coordinate system</translate>''<br/><!-- GIDEROSMTD:Sprite:getBounds(targetSprite) returns the bounds as it appears in another sprite's coordinate system --> | + | [[Sprite:getBounds]] ''returns the bounds as it appears in another sprite's coordinate system''<br/><!-- GIDEROSMTD:Sprite:getBounds(targetSprite) returns the bounds as it appears in another sprite's coordinate system --> |
− | [[Special:MyLanguage/Sprite:getChildAt|Sprite:getChildAt]] ''<translate>returns the child sprite that exists at the specified index</translate>''<br/><!-- GIDEROSMTD:Sprite:getChildAt(index) returns the child sprite that exists at the specified index --> | + | [[Sprite:getChildAt]] ''returns the child sprite that exists at the specified index''<br/><!-- GIDEROSMTD:Sprite:getChildAt(index) returns the child sprite that exists at the specified index --> |
− | [[Special:MyLanguage/Sprite:getChildIndex|Sprite:getChildIndex]] ''<translate>returns the index of the specified child sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:getChildIndex(child) returns the index of the specified child sprite --> | + | [[Sprite:getChildIndex]] ''returns the index of the specified child sprite''<br/><!-- GIDEROSMTD:Sprite:getChildIndex(child) returns the index of the specified child sprite --> |
− | [[Special:MyLanguage/Sprite:getChildrenAtPoint|Sprite:getChildrenAtPoint]] ''<translate>returns the children sprites that corresponds to the given screen coordinates</translate>''<br/><!-- GIDEROSMTD:Sprite:getChildrenAtPoint(x,y,visible,nosubs) returns the children sprites that corresponds to the given screen coordinates --> | + | [[Sprite:getChildrenAtPoint]] ''returns the children sprites that corresponds to the given screen coordinates''<br/><!-- GIDEROSMTD:Sprite:getChildrenAtPoint(x,y,visible,nosubs) returns the children sprites that corresponds to the given screen coordinates --> |
− | [[Special:MyLanguage/Sprite:getClip|Sprite:getClip]] <br/><!-- GIDEROSMTD:Sprite:getClip() --> | + | [[Sprite:getClip]] <br/><!-- GIDEROSMTD:Sprite:getClip() --> |
− | [[Special:MyLanguage/Sprite:getColorTransform|Sprite:getColorTransform]] ''<translate>returns the red, green, blue and alpha channel multipliers</translate>''<br/><!-- GIDEROSMTD:Sprite:getColorTransform() returns the red, green, blue and alpha channel multipliers --> | + | [[Sprite:getColorTransform]] ''returns the red, green, blue and alpha channel multipliers''<br/><!-- GIDEROSMTD:Sprite:getColorTransform() returns the red, green, blue and alpha channel multipliers --> |
− | [[Special:MyLanguage/Sprite:getDrawCount|Sprite:getDrawCount]] ''<translate>returns the number of Sprites actually drawn each frame on this subtree</translate>''<br/><!-- GIDEROSMTD:Sprite:getDrawCount() returns the number of Sprites actually drawn each frame on this subtree --> | + | [[Sprite:getDrawCount]] ''returns the number of Sprites actually drawn each frame on this subtree''<br/><!-- GIDEROSMTD:Sprite:getDrawCount() returns the number of Sprites actually drawn each frame on this subtree --> |
− | [[Special:MyLanguage/Sprite:getHeight|Sprite:getHeight]] ''<translate>returns the height</translate>''<br/><!-- GIDEROSMTD:Sprite:getHeight(withoutTransform) returns the height --> | + | [[Sprite:getHeight]] ''returns the height''<br/><!-- GIDEROSMTD:Sprite:getHeight(withoutTransform) returns the height --> |
− | [[Special:MyLanguage/Sprite:getLayoutConstraints|Sprite:getLayoutConstraints]] ''<translate>get the current layout constraints</translate>''<br/><!-- GIDEROSMTD:Sprite:getLayoutConstraints() get the current layout constraints --> | + | [[Sprite:getLayoutConstraints]] ''get the current layout constraints''<br/><!-- GIDEROSMTD:Sprite:getLayoutConstraints() get the current layout constraints --> |
− | [[Special:MyLanguage/Sprite:getLayoutInfo|Sprite:getLayoutInfo]] ''<translate>get information of the current layout</translate>''<br/><!-- GIDEROSMTD:Sprite:getLayoutInfo() get information of the current layout --> | + | [[Sprite:getLayoutInfo]] ''get information of the current layout''<br/><!-- GIDEROSMTD:Sprite:getLayoutInfo() get information of the current layout --> |
− | [[Special:MyLanguage/Sprite:getLayoutParameters|Sprite:getLayoutParameters]] ''<translate>get the current layout parameters</translate>''<br/><!-- GIDEROSMTD:Sprite:getLayoutParameters() get the current layout parameters --> | + | [[Sprite:getLayoutParameters]] ''get the current layout parameters''<br/><!-- GIDEROSMTD:Sprite:getLayoutParameters() get the current layout parameters --> |
− | [[Special:MyLanguage/Sprite:getMatrix|Sprite:getMatrix]] ''<translate>returns the transformation matrix of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:getMatrix() returns the transformation matrix of the sprite --> | + | [[Sprite:getMatrix]] ''returns the transformation matrix of the sprite''<br/><!-- GIDEROSMTD:Sprite:getMatrix() returns the transformation matrix of the sprite --> |
− | [[Special:MyLanguage/Sprite:getNumChildren|Sprite:getNumChildren]] ''<translate>returns the number of children of this sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:getNumChildren() returns the number of children of this sprite --> | + | [[Sprite:getNumChildren]] ''returns the number of children of this sprite''<br/><!-- GIDEROSMTD:Sprite:getNumChildren() returns the number of children of this sprite --> |
− | [[Special:MyLanguage/Sprite:getParent|Sprite:getParent]] ''<translate>returns the parent sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:getParent() returns the parent sprite --> | + | [[Sprite:getParent]] ''returns the parent sprite''<br/><!-- GIDEROSMTD:Sprite:getParent() returns the parent sprite --> |
− | [[Special:MyLanguage/Sprite:getPosition|Sprite:getPosition]] ''<translate>gets the x,y and z coordinates of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:getPosition() gets the x,y and z coordinates of the sprite --> | + | [[Sprite:getPosition]] ''gets the x,y and z coordinates of the sprite''<br/><!-- GIDEROSMTD:Sprite:getPosition() gets the x,y and z coordinates of the sprite --> |
− | [[Special:MyLanguage/Sprite:getRotation|Sprite:getRotation]] ''<translate>returns the rotation of the sprite in degrees</translate>''<br/><!-- GIDEROSMTD:Sprite:getRotation() returns the rotation of the sprite in degrees --> | + | [[Sprite:getRotation]] ''returns the rotation of the sprite in degrees''<br/><!-- GIDEROSMTD:Sprite:getRotation() returns the rotation of the sprite in degrees --> |
− | [[Special:MyLanguage/Sprite:getRotationX|Sprite:getRotationX]] ''<translate>returns the rotation of the sprite around x axis in degrees</translate>''<br/><!-- GIDEROSMTD:Sprite:getRotationX() returns the rotation of the sprite around x axis in degrees --> | + | [[Sprite:getRotationX]] ''returns the rotation of the sprite around x axis in degrees''<br/><!-- GIDEROSMTD:Sprite:getRotationX() returns the rotation of the sprite around x axis in degrees --> |
− | [[Special:MyLanguage/Sprite:getRotationY|Sprite:getRotationY]] ''<translate>returns the rotation of the sprite around y axis in degrees</translate>''<br/><!-- GIDEROSMTD:Sprite:getRotationY() returns the rotation of the sprite around y axis in degrees --> | + | [[Sprite:getRotationY]] ''returns the rotation of the sprite around y axis in degrees''<br/><!-- GIDEROSMTD:Sprite:getRotationY() returns the rotation of the sprite around y axis in degrees --> |
− | [[Special:MyLanguage/Sprite:getScale|Sprite:getScale]] ''<translate>returns the horizontal, vertical and z scales of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:getScale() returns the horizontal, vertical and z scales of the sprite --> | + | [[Sprite:getScale]] ''returns the horizontal, vertical and z scales of the sprite''<br/><!-- GIDEROSMTD:Sprite:getScale() returns the horizontal, vertical and z scales of the sprite --> |
− | [[Special:MyLanguage/Sprite:getScaleX|Sprite:getScaleX]] ''<translate>returns the horizontal scale of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:getScaleX() returns the horizontal scale of the sprite --> | + | [[Sprite:getScaleX]] ''returns the horizontal scale of the sprite''<br/><!-- GIDEROSMTD:Sprite:getScaleX() returns the horizontal scale of the sprite --> |
− | [[Special:MyLanguage/Sprite:getScaleY|Sprite:getScaleY]] ''<translate>returns the vertical scale of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:getScaleY() returns the vertical scale of the sprite --> | + | [[Sprite:getScaleY]] ''returns the vertical scale of the sprite''<br/><!-- GIDEROSMTD:Sprite:getScaleY() returns the vertical scale of the sprite --> |
− | [[Special:MyLanguage/Sprite:getScaleZ|Sprite:getScaleZ]] ''<translate>returns the scale on z axis of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:getScaleZ() returns the scale on z axis of the sprite --> | + | [[Sprite:getScaleZ]] ''returns the scale on z axis of the sprite''<br/><!-- GIDEROSMTD:Sprite:getScaleZ() returns the scale on z axis of the sprite --> |
− | [[Special:MyLanguage/Sprite:getSkew|Sprite:getSkew]] <br/><!-- GIDEROSMTD:Sprite:getSkew() --> | + | [[Sprite:getSkew]] <br/><!-- GIDEROSMTD:Sprite:getSkew() --> |
− | [[Special:MyLanguage/Sprite:getSkewX|Sprite:getSkewX]] <br/><!-- GIDEROSMTD:Sprite:getSkewX() --> | + | [[Sprite:getSkewX]] <br/><!-- GIDEROSMTD:Sprite:getSkewX() --> |
− | [[Special:MyLanguage/Sprite:getSkewY|Sprite:getSkewY]] <br/><!-- GIDEROSMTD:Sprite:getSkewY() --> | + | [[Sprite:getSkewY]] <br/><!-- GIDEROSMTD:Sprite:getSkewY() --> |
− | [[Special:MyLanguage/Sprite:getWidth|Sprite:getWidth]] ''<translate>returns the width</translate>''<br/><!-- GIDEROSMTD:Sprite:getWidth(withoutTransform) returns the width --> | + | [[Sprite:getWidth]] ''returns the width''<br/><!-- GIDEROSMTD:Sprite:getWidth(withoutTransform) returns the width --> |
− | [[Special:MyLanguage/Sprite:getX|Sprite:getX]] ''<translate>returns the x coordinate of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:getX() returns the x coordinate of the sprite --> | + | [[Sprite:getX]] ''returns the x coordinate of the sprite''<br/><!-- GIDEROSMTD:Sprite:getX() returns the x coordinate of the sprite --> |
− | [[Special:MyLanguage/Sprite:getY|Sprite:getY]] ''<translate>returns the y coordinate of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:getY() returns the y coordinate of the sprite --> | + | [[Sprite:getY]] ''returns the y coordinate of the sprite''<br/><!-- GIDEROSMTD:Sprite:getY() returns the y coordinate of the sprite --> |
− | [[Special:MyLanguage/Sprite:getZ|Sprite:getZ]] ''<translate>returns the z coordinate of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:getZ() returns the z coordinate of the sprite --> | + | [[Sprite:getZ]] ''returns the z coordinate of the sprite''<br/><!-- GIDEROSMTD:Sprite:getZ() returns the z coordinate of the sprite --> |
− | [[Special:MyLanguage/Sprite:globalToLocal|Sprite:globalToLocal]] ''<translate>converts the x,y coordinates from the global to the sprite's (local) coordinates</translate>''<br/><!-- GIDEROSMTD:Sprite:globalToLocal(x,y) converts the x,y coordinates from the global to the sprite's (local) coordinates --> | + | [[Sprite:globalToLocal]] ''converts the x,y coordinates from the global to the sprite's (local) coordinates''<br/><!-- GIDEROSMTD:Sprite:globalToLocal(x,y) converts the x,y coordinates from the global to the sprite's (local) coordinates --> |
− | [[Special:MyLanguage/Sprite:hitTestPoint|Sprite:hitTestPoint]] ''<translate>checks the given coordinates is in bounds of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:hitTestPoint(x,y,shapeFlag) checks the given coordinates is in bounds of the sprite --> | + | [[Sprite:hitTestPoint]] ''checks the given coordinates is in bounds of the sprite''<br/><!-- GIDEROSMTD:Sprite:hitTestPoint(x,y,shapeFlag) checks the given coordinates is in bounds of the sprite --> |
− | [[Special:MyLanguage/Sprite:isVisible|Sprite:isVisible]] ''<translate>returns the visibility of sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:isVisible() returns the visibility of sprite --> | + | [[Sprite:isVisible]] ''returns the visibility of sprite''<br/><!-- GIDEROSMTD:Sprite:isVisible() returns the visibility of sprite --> |
− | [[Special:MyLanguage/Sprite:localToGlobal|Sprite:localToGlobal]] ''<translate>converts the x,y coordinates from the sprite's (local) coordinates to the global coordinates</translate>''<br/><!-- GIDEROSMTD:Sprite:localToGlobal(x,y) converts the x,y coordinates from the sprite's (local) coordinates to the global coordinates --> | + | [[Sprite:localToGlobal]] ''converts the x,y coordinates from the sprite's (local) coordinates to the global coordinates''<br/><!-- GIDEROSMTD:Sprite:localToGlobal(x,y) converts the x,y coordinates from the sprite's (local) coordinates to the global coordinates --> |
− | [[Special:MyLanguage/Sprite:removeChild|Sprite:removeChild]] ''<translate>removes the child sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:removeChild(child) removes the child sprite --> | + | [[Sprite:removeChild]] ''removes the child sprite''<br/><!-- GIDEROSMTD:Sprite:removeChild(child) removes the child sprite --> |
− | [[Special:MyLanguage/Sprite:removeChildAt|Sprite:removeChildAt]] ''<translate>removes the child sprite at the specifed index</translate>''<br/><!-- GIDEROSMTD:Sprite:removeChildAt(index) removes the child sprite at the specifed index --> | + | [[Sprite:removeChildAt]] ''removes the child sprite at the specifed index''<br/><!-- GIDEROSMTD:Sprite:removeChildAt(index) removes the child sprite at the specifed index --> |
− | [[Special:MyLanguage/Sprite:removeFromParent|Sprite:removeFromParent]] ''<translate>if the sprite has a parent, removes the sprite from the child list of its parent sprite.</translate>''<br/><!-- GIDEROSMTD:Sprite:removeFromParent() if the sprite has a parent, removes the sprite from the child list of its parent sprite. --> | + | [[Sprite:removeFromParent]] ''if the sprite has a parent, removes the sprite from the child list of its parent sprite.''<br/><!-- GIDEROSMTD:Sprite:removeFromParent() if the sprite has a parent, removes the sprite from the child list of its parent sprite. --> |
− | [[Special:MyLanguage/Sprite:set|Sprite:set]] ''<translate>sets the specified property by its name</translate>''<br/><!-- GIDEROSMTD:Sprite:set(param,value) sets the specified property by its name --> | + | [[Sprite:set]] ''sets the specified property by its name''<br/><!-- GIDEROSMTD:Sprite:set(param,value) sets the specified property by its name --> |
− | [[Special:MyLanguage/Sprite:setAlpha|Sprite:setAlpha]] ''<translate>sets the alpha transparency of this sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:setAlpha(alpha) sets the alpha transparency of this sprite --> | + | [[Sprite:setAlpha]] ''sets the alpha transparency of this sprite''<br/><!-- GIDEROSMTD:Sprite:setAlpha(alpha) sets the alpha transparency of this sprite --> |
− | [[Special:MyLanguage/Sprite:setAnchorPosition|Sprite:setAnchorPosition]] ''<translate>Set anchor position</translate>''<br/><!-- GIDEROSMTD:Sprite:setAnchorPosition(anchorX,anchorY,anchorZ) Set anchor position --> | + | [[Sprite:setAnchorPosition]] ''Set anchor position''<br/><!-- GIDEROSMTD:Sprite:setAnchorPosition(anchorX,anchorY,anchorZ) Set anchor position --> |
− | [[Special:MyLanguage/Sprite:setBlendMode|Sprite:setBlendMode]] ''<translate>sets the blend mode of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:setBlendMode(blendMode or src,dst) sets the blend mode of the sprite --> | + | [[Sprite:setBlendMode]] ''sets the blend mode of the sprite''<br/><!-- GIDEROSMTD:Sprite:setBlendMode(blendMode or src,dst) sets the blend mode of the sprite --> |
− | [[Special:MyLanguage/Sprite:setClip|Sprite:setClip]] ''<translate>Clip Sprite contents</translate>''<br/><!-- GIDEROSMTD:Sprite:setClip(x,y,width,height) Clip Sprite contents --> | + | [[Sprite:setClip]] ''Clip Sprite contents''<br/><!-- GIDEROSMTD:Sprite:setClip(x,y,width,height) Clip Sprite contents --> |
− | [[Special:MyLanguage/Sprite:setColorTransform|Sprite:setColorTransform]] ''<translate>sets the red, green, blue and alpha channel multipliers</translate>''<br/><!-- GIDEROSMTD:Sprite:setColorTransform(redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier) sets the red, green, blue and alpha channel multipliers --> | + | [[Sprite:setColorTransform]] ''sets the red, green, blue and alpha channel multipliers''<br/><!-- GIDEROSMTD:Sprite:setColorTransform(redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier) sets the red, green, blue and alpha channel multipliers --> |
− | [[Special:MyLanguage/Sprite:setLayoutConstraints|Sprite:setLayoutConstraints]] ''<translate>specify the child placement constraints for Gideros's layout system</translate>''<br/><!-- GIDEROSMTD:Sprite:setLayoutConstraints(constraints) specify the child placement constraints for Gideros's layout system --> | + | [[Sprite:setLayoutConstraints]] ''specify the child placement constraints for Gideros's layout system''<br/><!-- GIDEROSMTD:Sprite:setLayoutConstraints(constraints) specify the child placement constraints for Gideros's layout system --> |
− | [[Special:MyLanguage/Sprite:setLayoutParameters|Sprite:setLayoutParameters]] ''<translate>specify the parent parameters for Gideros's layout system</translate>''<br/><!-- GIDEROSMTD:Sprite:setLayoutParameters(layout) specify the parent parameters for Gideros's layout system --> | + | [[Sprite:setLayoutParameters]] ''specify the parent parameters for Gideros's layout system''<br/><!-- GIDEROSMTD:Sprite:setLayoutParameters(layout) specify the parent parameters for Gideros's layout system --> |
− | [[Special:MyLanguage/Sprite:setMatrix|Sprite:setMatrix]] ''<translate>sets the transformation matrix of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:setMatrix(matrix) sets the transformation matrix of the sprite --> | + | [[Sprite:setMatrix]] ''sets the transformation matrix of the sprite''<br/><!-- GIDEROSMTD:Sprite:setMatrix(matrix) sets the transformation matrix of the sprite --> |
− | [[Special:MyLanguage/Sprite:setPosition|Sprite:setPosition]] ''<translate>sets the x,y and z coordinates of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:setPosition(x,y,z) sets the x,y and z coordinates of the sprite --> | + | [[Sprite:setPosition]] ''sets the x,y and z coordinates of the sprite''<br/><!-- GIDEROSMTD:Sprite:setPosition(x,y,z) sets the x,y and z coordinates of the sprite --> |
− | [[Special:MyLanguage/Sprite:setRotation|Sprite:setRotation]] ''<translate>sets the rotation of the sprite in degrees</translate>''<br/><!-- GIDEROSMTD:Sprite:setRotation(rotation) sets the rotation of the sprite in degrees --> | + | [[Sprite:setRotation]] ''sets the rotation of the sprite in degrees''<br/><!-- GIDEROSMTD:Sprite:setRotation(rotation) sets the rotation of the sprite in degrees --> |
− | [[Special:MyLanguage/Sprite:setRotationX|Sprite:setRotationX]] ''<translate>sets the rotation of the sprite in degrees around x axis</translate>''<br/><!-- GIDEROSMTD:Sprite:setRotationX() sets the rotation of the sprite in degrees around x axis --> | + | [[Sprite:setRotationX]] ''sets the rotation of the sprite in degrees around x axis''<br/><!-- GIDEROSMTD:Sprite:setRotationX() sets the rotation of the sprite in degrees around x axis --> |
− | [[Special:MyLanguage/Sprite:setRotationY|Sprite:setRotationY]] ''<translate>sets the rotation of the sprite in degrees around y axis</translate>''<br/><!-- GIDEROSMTD:Sprite:setRotationY() sets the rotation of the sprite in degrees around y axis --> | + | [[Sprite:setRotationY]] ''sets the rotation of the sprite in degrees around y axis''<br/><!-- GIDEROSMTD:Sprite:setRotationY() sets the rotation of the sprite in degrees around y axis --> |
− | [[Special:MyLanguage/Sprite:setScale|Sprite:setScale]] ''<translate>sets the horizontal, vertical and z axis scales of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:setScale(scaleX,scaleY,scaleZ) sets the horizontal, vertical and z axis scales of the sprite --> | + | [[Sprite:setScale]] ''sets the horizontal, vertical and z axis scales of the sprite''<br/><!-- GIDEROSMTD:Sprite:setScale(scaleX,scaleY,scaleZ) sets the horizontal, vertical and z axis scales of the sprite --> |
− | [[Special:MyLanguage/Sprite:setScaleX|Sprite:setScaleX]] ''<translate>sets the horizontal scale of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:setScaleX(scaleX) sets the horizontal scale of the sprite --> | + | [[Sprite:setScaleX]] ''sets the horizontal scale of the sprite''<br/><!-- GIDEROSMTD:Sprite:setScaleX(scaleX) sets the horizontal scale of the sprite --> |
− | [[Special:MyLanguage/Sprite:setScaleY|Sprite:setScaleY]] ''<translate>sets the vertical scale of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:setScaleY(scaleY) sets the vertical scale of the sprite --> | + | [[Sprite:setScaleY]] ''sets the vertical scale of the sprite''<br/><!-- GIDEROSMTD:Sprite:setScaleY(scaleY) sets the vertical scale of the sprite --> |
− | [[Special:MyLanguage/Sprite:setScaleZ|Sprite:setScaleZ]] ''<translate>Set scale on z axis</translate>''<br/><!-- GIDEROSMTD:Sprite:setScaleZ(scale) Set scale on z axis --> | + | [[Sprite:setScaleZ]] ''Set scale on z axis''<br/><!-- GIDEROSMTD:Sprite:setScaleZ(scale) Set scale on z axis --> |
− | [[Special:MyLanguage/Sprite:setShader|Sprite:setShader]] ''<translate>Set shader for this sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:setShader(shader) Set shader for this sprite --> | + | [[Sprite:setShader]] ''Set shader for this sprite''<br/><!-- GIDEROSMTD:Sprite:setShader(shader) Set shader for this sprite --> |
− | [[Special:MyLanguage/Sprite:setShaderConstant|Sprite:setShaderConstant]] ''<translate>Change the value of a uniform for this sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:setShaderConstant(uniform name,data type,mult,data) Change the value of a uniform for this sprite --> | + | [[Sprite:setShaderConstant]] ''Change the value of a uniform for this sprite''<br/><!-- GIDEROSMTD:Sprite:setShaderConstant(uniform name,data type,mult,data) Change the value of a uniform for this sprite --> |
− | [[Special:MyLanguage/Sprite:setSkew|Sprite:setSkew]] <br/><!-- GIDEROSMTD:Sprite:setSkew(kx,ky) --> | + | [[Sprite:setSkew]] <br/><!-- GIDEROSMTD:Sprite:setSkew(kx,ky) --> |
− | [[Special:MyLanguage/Sprite:setSkewX|Sprite:setSkewX]] <br/><!-- GIDEROSMTD:Sprite:setSkewX(kx) --> | + | [[Sprite:setSkewX]] <br/><!-- GIDEROSMTD:Sprite:setSkewX(kx) --> |
− | [[Special:MyLanguage/Sprite:setSkewY|Sprite:setSkewY]] <br/><!-- GIDEROSMTD:Sprite:setSkewY(ky) --> | + | [[Sprite:setSkewY]] <br/><!-- GIDEROSMTD:Sprite:setSkewY(ky) --> |
− | [[Special:MyLanguage/Sprite:setStencilOperation|Sprite:setStencilOperation]] ''<translate>Set the stencil operation for this sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:setStencilOperation(mask) Set the stencil operation for this sprite --> | + | [[Sprite:setStencilOperation]] ''Set the stencil operation for this sprite''<br/><!-- GIDEROSMTD:Sprite:setStencilOperation(mask) Set the stencil operation for this sprite --> |
− | [[Special:MyLanguage/Sprite:setStopEventPropagation|Sprite:setStopEventPropagation]] ''<translate>Select which events must not be propagated to parent sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:setStopEventPropagation(mask) Select which events must not be propagated to parent sprite --> | + | [[Sprite:setStopEventPropagation]] ''Select which events must not be propagated to parent sprite''<br/><!-- GIDEROSMTD:Sprite:setStopEventPropagation(mask) Select which events must not be propagated to parent sprite --> |
− | [[Special:MyLanguage/Sprite:setVisible|Sprite:setVisible]] ''<translate>sets the visibility of sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:setVisible(visible) sets the visibility of sprite --> | + | [[Sprite:setVisible]] ''sets the visibility of sprite''<br/><!-- GIDEROSMTD:Sprite:setVisible(visible) sets the visibility of sprite --> |
− | [[Special:MyLanguage/Sprite:setX|Sprite:setX]] ''<translate>sets the x coordinate of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:setX(x) sets the x coordinate of the sprite --> | + | [[Sprite:setX]] ''sets the x coordinate of the sprite''<br/><!-- GIDEROSMTD:Sprite:setX(x) sets the x coordinate of the sprite --> |
− | [[Special:MyLanguage/Sprite:setY|Sprite:setY]] ''<translate>sets the y coordinate of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:setY(y) sets the y coordinate of the sprite --> | + | [[Sprite:setY]] ''sets the y coordinate of the sprite''<br/><!-- GIDEROSMTD:Sprite:setY(y) sets the y coordinate of the sprite --> |
− | [[Special:MyLanguage/Sprite:setZ|Sprite:setZ]] ''<translate>sets the z coordinate of the sprite</translate>''<br/><!-- GIDEROSMTD:Sprite:setZ(z) sets the z coordinate of the sprite --> | + | [[Sprite:setZ]] ''sets the z coordinate of the sprite''<br/><!-- GIDEROSMTD:Sprite:setZ(z) sets the z coordinate of the sprite --> |
− | [[Special:MyLanguage/Sprite:swapChildren|Sprite:swapChildren]] ''<translate>Swap two children index places</translate>''<br/><!-- GIDEROSMTD:Sprite:swapChildren(child1,child2) Swap two children index places --> | + | [[Sprite:swapChildren]] ''Swap two children index places''<br/><!-- GIDEROSMTD:Sprite:swapChildren(child1,child2) Swap two children index places --> |
− | [[Special:MyLanguage/Sprite:swapChildrenAt|Sprite:swapChildrenAt]] ''<translate>Swaps two child sprites.</translate>''<br/><!-- GIDEROSMTD:Sprite:swapChildrenAt(index1,index2) Swaps two child sprites. --> | + | [[Sprite:swapChildrenAt]] ''Swaps two child sprites.''<br/><!-- GIDEROSMTD:Sprite:swapChildrenAt(index1,index2) Swaps two child sprites. --> |
| | | |
| | style="width: 50%; vertical-align:top;"| | | | style="width: 50%; vertical-align:top;"| |
− | === <translate>Events</translate> === | + | === Events === |
− | [[Special:MyLanguage/Event.ADDED_TO_STAGE|Event.ADDED_TO_STAGE]]<br/><!-- GIDEROSEVT:Event.ADDED_TO_STAGE addedToStage--> | + | [[Event.ADDED_TO_STAGE]]<br/><!-- GIDEROSEVT:Event.ADDED_TO_STAGE addedToStage--> |
− | [[Special:MyLanguage/Event.ENTER_FRAME|Event.ENTER_FRAME]]<br/><!-- GIDEROSEVT:Event.ENTER_FRAME enterFrame--> | + | [[Event.ENTER_FRAME]]<br/><!-- GIDEROSEVT:Event.ENTER_FRAME enterFrame--> |
− | [[Special:MyLanguage/Event.KEY_DOWN|Event.KEY_DOWN]]<br/><!-- GIDEROSEVT:Event.KEY_DOWN keyDown--> | + | [[Event.KEY_DOWN]]<br/><!-- GIDEROSEVT:Event.KEY_DOWN keyDown--> |
− | [[Special:MyLanguage/Event.KEY_UP|Event.KEY_UP]]<br/><!-- GIDEROSEVT:Event.KEY_UP keyUp--> | + | [[Event.KEY_UP]]<br/><!-- GIDEROSEVT:Event.KEY_UP keyUp--> |
− | [[Special:MyLanguage/Event.LAYOUT_RESIZED|Event.LAYOUT_RESIZED]]<br/><!-- GIDEROSEVT:Event.LAYOUT_RESIZED layout_resized--> | + | [[Event.LAYOUT_RESIZED]]<br/><!-- GIDEROSEVT:Event.LAYOUT_RESIZED layout_resized--> |
− | [[Special:MyLanguage/Event.MOUSE_DOWN|Event.MOUSE_DOWN]]<br/><!-- GIDEROSEVT:Event.MOUSE_DOWN mouseDown--> | + | [[Event.MOUSE_DOWN]]<br/><!-- GIDEROSEVT:Event.MOUSE_DOWN mouseDown--> |
− | [[Special:MyLanguage/Event.MOUSE_HOVER|Event.MOUSE_HOVER]]<br/><!-- GIDEROSEVT:Event.MOUSE_HOVER mouseHover--> | + | [[Event.MOUSE_HOVER]]<br/><!-- GIDEROSEVT:Event.MOUSE_HOVER mouseHover--> |
− | [[Special:MyLanguage/Event.MOUSE_MOVE|Event.MOUSE_MOVE]]<br/><!-- GIDEROSEVT:Event.MOUSE_MOVE mouseMove--> | + | [[Event.MOUSE_MOVE]]<br/><!-- GIDEROSEVT:Event.MOUSE_MOVE mouseMove--> |
− | [[Special:MyLanguage/Event.MOUSE_UP|Event.MOUSE_UP]]<br/><!-- GIDEROSEVT:Event.MOUSE_UP mouseUp--> | + | [[Event.MOUSE_UP]]<br/><!-- GIDEROSEVT:Event.MOUSE_UP mouseUp--> |
− | [[Special:MyLanguage/Event.MOUSE_WHEEL|Event.MOUSE_WHEEL]]<br/><!-- GIDEROSEVT:Event.MOUSE_WHEEL mouseWheel--> | + | [[Event.MOUSE_WHEEL]]<br/><!-- GIDEROSEVT:Event.MOUSE_WHEEL mouseWheel--> |
− | [[Special:MyLanguage/Event.REMOVED_FROM_STAGE|Event.REMOVED_FROM_STAGE]]<br/><!-- GIDEROSEVT:Event.REMOVED_FROM_STAGE removedFromStage--> | + | [[Event.REMOVED_FROM_STAGE]]<br/><!-- GIDEROSEVT:Event.REMOVED_FROM_STAGE removedFromStage--> |
− | [[Special:MyLanguage/Event.TOUCHES_BEGIN|Event.TOUCHES_BEGIN]]<br/><!-- GIDEROSEVT:Event.TOUCHES_BEGIN touchesBegin--> | + | [[Event.TOUCHES_BEGIN]]<br/><!-- GIDEROSEVT:Event.TOUCHES_BEGIN touchesBegin--> |
− | [[Special:MyLanguage/Event.TOUCHES_CANCEL|Event.TOUCHES_CANCEL]]<br/><!-- GIDEROSEVT:Event.TOUCHES_CANCEL touchesCancel--> | + | [[Event.TOUCHES_CANCEL]]<br/><!-- GIDEROSEVT:Event.TOUCHES_CANCEL touchesCancel--> |
− | [[Special:MyLanguage/Event.TOUCHES_END|Event.TOUCHES_END]]<br/><!-- GIDEROSEVT:Event.TOUCHES_END touchesEnd--> | + | [[Event.TOUCHES_END]]<br/><!-- GIDEROSEVT:Event.TOUCHES_END touchesEnd--> |
− | [[Special:MyLanguage/Event.TOUCHES_MOVE|Event.TOUCHES_MOVE]]<br/><!-- GIDEROSEVT:Event.TOUCHES_MOVE touchesMove--> | + | [[Event.TOUCHES_MOVE]]<br/><!-- GIDEROSEVT:Event.TOUCHES_MOVE touchesMove--> |
− | === <translate>Constants</translate> === | + | === Constants === |
− | [[Special:MyLanguage/Sprite.ADD|Sprite.ADD]]<br/><!-- GIDEROSCST:Sprite.ADD add--> | + | [[Sprite.ADD]]<br/><!-- GIDEROSCST:Sprite.ADD add--> |
− | [[Special:MyLanguage/Sprite.ALPHA|Sprite.ALPHA]]<br/><!-- GIDEROSCST:Sprite.ALPHA alpha--> | + | [[Sprite.ALPHA]]<br/><!-- GIDEROSCST:Sprite.ALPHA alpha--> |
− | [[Special:MyLanguage/Sprite.LAYOUT_ANCHOR_CENTER|Sprite.LAYOUT_ANCHOR_CENTER]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_CENTER 0--> | + | [[Sprite.LAYOUT_ANCHOR_CENTER]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_CENTER 0--> |
− | [[Special:MyLanguage/Sprite.LAYOUT_ANCHOR_EAST|Sprite.LAYOUT_ANCHOR_EAST]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_EAST 3--> | + | [[Sprite.LAYOUT_ANCHOR_EAST]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_EAST 3--> |
− | [[Special:MyLanguage/Sprite.LAYOUT_ANCHOR_NORTH|Sprite.LAYOUT_ANCHOR_NORTH]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_NORTH 1--> | + | [[Sprite.LAYOUT_ANCHOR_NORTH]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_NORTH 1--> |
− | [[Special:MyLanguage/Sprite.LAYOUT_ANCHOR_NORTHEAST|Sprite.LAYOUT_ANCHOR_NORTHEAST]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_NORTHEAST 2--> | + | [[Sprite.LAYOUT_ANCHOR_NORTHEAST]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_NORTHEAST 2--> |
− | [[Special:MyLanguage/Sprite.LAYOUT_ANCHOR_NORTHWEST|Sprite.LAYOUT_ANCHOR_NORTHWEST]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_NORTHWEST 8--> | + | [[Sprite.LAYOUT_ANCHOR_NORTHWEST]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_NORTHWEST 8--> |
− | [[Special:MyLanguage/Sprite.LAYOUT_ANCHOR_SOUTH|Sprite.LAYOUT_ANCHOR_SOUTH]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_SOUTH 5--> | + | [[Sprite.LAYOUT_ANCHOR_SOUTH]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_SOUTH 5--> |
− | [[Special:MyLanguage/Sprite.LAYOUT_ANCHOR_SOUTHEAST|Sprite.LAYOUT_ANCHOR_SOUTHEAST]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_SOUTHEAST 4--> | + | [[Sprite.LAYOUT_ANCHOR_SOUTHEAST]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_SOUTHEAST 4--> |
− | [[Special:MyLanguage/Sprite.LAYOUT_ANCHOR_SOUTHWEST|Sprite.LAYOUT_ANCHOR_SOUTHWEST]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_SOUTHWEST 6--> | + | [[Sprite.LAYOUT_ANCHOR_SOUTHWEST]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_SOUTHWEST 6--> |
− | [[Special:MyLanguage/Sprite.LAYOUT_ANCHOR_WEST|Sprite.LAYOUT_ANCHOR_WEST]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_WEST 7--> | + | [[Sprite.LAYOUT_ANCHOR_WEST]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_ANCHOR_WEST 7--> |
− | [[Special:MyLanguage/Sprite.LAYOUT_FILL_BOTH|Sprite.LAYOUT_FILL_BOTH]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_FILL_BOTH 1--> | + | [[Sprite.LAYOUT_FILL_BOTH]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_FILL_BOTH 1--> |
− | [[Special:MyLanguage/Sprite.LAYOUT_FILL_HORIZONTAL|Sprite.LAYOUT_FILL_HORIZONTAL]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_FILL_HORIZONTAL 2--> | + | [[Sprite.LAYOUT_FILL_HORIZONTAL]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_FILL_HORIZONTAL 2--> |
− | [[Special:MyLanguage/Sprite.LAYOUT_FILL_NONE|Sprite.LAYOUT_FILL_NONE]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_FILL_NONE 0--> | + | [[Sprite.LAYOUT_FILL_NONE]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_FILL_NONE 0--> |
− | [[Special:MyLanguage/Sprite.LAYOUT_FILL_VERTICAL|Sprite.LAYOUT_FILL_VERTICAL]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_FILL_VERTICAL 3--> | + | [[Sprite.LAYOUT_FILL_VERTICAL]]<br/><!-- GIDEROSCST:Sprite.LAYOUT_FILL_VERTICAL 3--> |
− | [[Special:MyLanguage/Sprite.MULTIPLY|Sprite.MULTIPLY]]<br/><!-- GIDEROSCST:Sprite.MULTIPLY multiply--> | + | [[Sprite.MULTIPLY]]<br/><!-- GIDEROSCST:Sprite.MULTIPLY multiply--> |
− | [[Special:MyLanguage/Sprite.NO_ALPHA|Sprite.NO_ALPHA]]<br/><!-- GIDEROSCST:Sprite.NO_ALPHA noAlpha--> | + | [[Sprite.NO_ALPHA]]<br/><!-- GIDEROSCST:Sprite.NO_ALPHA noAlpha--> |
− | [[Special:MyLanguage/Sprite.SCREEN|Sprite.SCREEN]]<br/><!-- GIDEROSCST:Sprite.SCREEN screen--> | + | [[Sprite.SCREEN]]<br/><!-- GIDEROSCST:Sprite.SCREEN screen--> |
| |} | | |} |
| | | |
| {{GIDEROS IMPORTANT LINKS}} | | {{GIDEROS IMPORTANT LINKS}} |