프로퍼티 | 타입 | 설명 | |
---|---|---|---|
tintColor | Color? |
메소드 | 설명 | |
---|---|---|
NinePatchDrawable ( |
||
NinePatchDrawable ( |
||
NinePatchDrawable ( Microsoft.Xna.Framework.Graphics.Texture2D texture, int left, int right, int top, int bottom ) : System |
creates a NinePatchDrawable using the full texture
|
|
draw ( Graphics graphics, float x, float y, float width, float height, Color color ) : void | ||
newTintedDrawable ( Color tint ) : |
returns a new drawable with the tint color specified
|
|
setPadding ( float top, float bottom, float left, float right ) : void | ||
setPadding ( int left, int right, int top, int bottom ) : void |
sets the padding on the NinePatchSubtexture
|
public NinePatchDrawable ( |
||
subtexture | ||
리턴 | System |
public NinePatchDrawable ( |
||
subtexture | ||
left | int | |
right | int | |
top | int | |
bottom | int | |
리턴 | System |
public NinePatchDrawable ( Microsoft.Xna.Framework.Graphics.Texture2D texture, int left, int right, int top, int bottom ) : System | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | Texture. |
left | int | Left. |
right | int | Right. |
top | int | Top. |
bottom | int | Bottom. |
리턴 | System |
public draw ( Graphics graphics, float x, float y, float width, float height, Color color ) : void | ||
graphics | Graphics | |
x | float | |
y | float | |
width | float | |
height | float | |
color | Color | |
리턴 | void |
public newTintedDrawable ( Color tint ) : |
||
tint | Color | Tint. |
리턴 |
public setPadding ( float top, float bottom, float left, float right ) : void | ||
top | float | |
bottom | float | |
left | float | |
right | float | |
리턴 | void |
public setPadding ( int left, int right, int top, int bottom ) : void | ||
left | int | Left. |
right | int | Right. |
top | int | Top. |
bottom | int | Bottom. |
리턴 | void |