GODPAPER | All Packages | All Classes | Index | Frames No Frames |
Scale9Textures

Package | feathers.textures
Class | public final class Scale9Textures
Inheritance | Scale9Textures Object

A set of nine textures used by `Scale9Image`.

See also

org.josht.starling.display.Scale9Image

Public Properties

| Property | Defined By
--- | --- | ---
|  | bottomCenter : Texture [read-only] The texture for the region in the bottom center. | Scale9Textures
|  | bottomLeft : Texture [read-only] The texture for the region in the bottom left. | Scale9Textures
|  | bottomRight : Texture [read-only] The texture for the region in the bottom right. | Scale9Textures
|  | middleCenter : Texture [read-only] The texture for the region in the middle center. | Scale9Textures
|  | middleLeft : Texture [read-only] The texture for the region in the middle left. | Scale9Textures
|  | middleRight : Texture [read-only] The texture for the region in the middle right. | Scale9Textures
|  | scale9Grid : Rectangle [read-only] The grid representing the nine sub-regions of the texture. | Scale9Textures
|  | texture : Texture [read-only] The original texture. | Scale9Textures
|  | topCenter : Texture [read-only] The texture for the region in the top center. | Scale9Textures
|  | topLeft : Texture [read-only] The texture for the region in the top Left. | Scale9Textures
|  | topRight : Texture [read-only] The texture for the region in the top right. | Scale9Textures

Public Methods

| Method | Defined By
--- | --- | ---
|  | Scale9Textures(texture:Texture, scale9Grid:Rectangle) Constructor. | Scale9Textures

Property Detail

bottomCenter | property

`bottomCenter:Texture` [read-only]

The texture for the region in the bottom center.

Implementation
`public function get bottomCenter():Texture`

bottomLeft | property |

`bottomLeft:Texture` [read-only]

The texture for the region in the bottom left.

Implementation
`public function get bottomLeft():Texture`

bottomRight | property |

`bottomRight:Texture` [read-only]

The texture for the region in the bottom right.

Implementation
`public function get bottomRight():Texture`

middleCenter | property |

`middleCenter:Texture` [read-only]

The texture for the region in the middle center.

Implementation
`public function get middleCenter():Texture`

middleLeft | property |

`middleLeft:Texture` [read-only]

The texture for the region in the middle left.

Implementation
`public function get middleLeft():Texture`

middleRight | property |

`middleRight:Texture` [read-only]

The texture for the region in the middle right.

Implementation
`public function get middleRight():Texture`

scale9Grid | property |

`scale9Grid:Rectangle` [read-only]

The grid representing the nine sub-regions of the texture.

Implementation
`public function get scale9Grid():Rectangle`

texture | property |

`texture:Texture` [read-only]

The original texture.

Implementation
`public function get texture():Texture`

topCenter | property |

`topCenter:Texture` [read-only]

The texture for the region in the top center.

Implementation
`public function get topCenter():Texture`

topLeft | property |

`topLeft:Texture` [read-only]

The texture for the region in the top Left.

Implementation
`public function get topLeft():Texture`

topRight | property |

`topRight:Texture` [read-only]

The texture for the region in the top right.

Implementation
`public function get topRight():Texture`
Constructor Detail

Scale9Textures | () | Constructor

`public function Scale9Textures(texture:Texture, scale9Grid:Rectangle)`

Constructor.

Parameters

| `texture:Texture`
| `scale9Grid:Rectangle`

Thu Jan 16 2014, 01:11 PM +08:00