프로퍼티 | 타입 | 설명 | |
---|---|---|---|
tintColor | Color? |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_subtexture |
메소드 | 설명 | |
---|---|---|
SubtextureDrawable ( |
||
SubtextureDrawable ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System | ||
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 |
public SubtextureDrawable ( |
||
subtexture | ||
리턴 | System |
public SubtextureDrawable ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
리턴 | 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 |