RenderStack 11.06.1
Public Member Functions | Properties
RenderStack.UI.NinePatchStyle Class Reference

List of all members.

Public Member Functions

 NinePatchStyle (string ninepatchFile)

Properties

Texture Texture [get]
float Border [get]

Detailed Description

Definition at line 146 of file NinePatch.cs.


Constructor & Destructor Documentation

RenderStack.UI.NinePatchStyle.NinePatchStyle ( string  ninepatchFile)

Definition at line 179 of file NinePatch.cs.

        {
            Image image = new Image("res/images/" + ninepatchFile);
            texture = new Texture(image, false);
        }

Property Documentation

Texture RenderStack.UI.NinePatchStyle.Texture [get]

Definition at line 151 of file NinePatch.cs.

Referenced by example.UI.PushButton.DrawSelf().

float RenderStack.UI.NinePatchStyle.Border [get]

Definition at line 152 of file NinePatch.cs.


The documentation for this class was generated from the following file: