Property | Type | Description | |
---|---|---|---|
tintColor | Color? |
Property | Type | Description | |
---|---|---|---|
_subtexture |
Method | Description | |
---|---|---|
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 | ||
return | System |
public SubtextureDrawable ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
return | 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 | |
return | void |
public newTintedDrawable ( Color tint ) : |
||
tint | Color | Tint. |
return |
public setPadding ( float top, float bottom, float left, float right ) : void | ||
top | float | |
bottom | float | |
left | float | |
right | float | |
return | void |
protected Subtexture,Nez.Textures _subtexture | ||
return |