Scale3Textures
public class
feathers.textures.Scale3Textures
Description
A set of three textures used by Scale3Image.
See also:
feathers.display.Scale3Image
API overview
Constructor
Scale3Textures
(
texture: Texture
,
firstRegionSize: Number
,
secondRegionSize: Number
,
direction: String
=
)
Constructor.
Attributes
Public attributes
| direction: String |
read-only
The direction of the sub-texture layout |
| first: Texture |
read-only
The texture for the first region |
| firstRegionSize: Number |
read-only
The size of the first region, in pixels |
| second: Texture |
read-only
The texture for the second region |
| secondRegionSize: Number |
read-only
The size of the second region, in pixels |
| texture: Texture |
read-only
The original texture |
| third: Texture |
read-only
The texture for the third region |
Constants
Constants
| DIRECTION_HORIZONTAL: String |
static
If the direction is horizontal, the layout will start on the left and continue to the right |
| DIRECTION_VERTICAL: String |
static
If the direction is vertical, the layout will start on the top and continue to the bottom |
Constructor
Attributes
direction: String
read-only
The direction of the sub-texture layout.
See also:
#DIRECTION_HORIZONTAL
#DIRECTION_VERTICAL
Constants
Functions
getFullTypeName
(): String
Inherited from Object
native
Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.
Returns
| String | fully qualified type name of the Object. |
getType
(): Type
Inherited from Object
native
Gets the Type that describes the Object.
Returns
| Type | The Type that describes the object. |