Property | Type | Description | |
---|---|---|---|
batcher | |||
bitmapFont | BitmapFont | ||
instance | |||
pixelTexture |
Method | Description | |
---|---|---|
Graphics ( ) : System | ||
Graphics ( BitmapFont font ) : System | ||
createSingleColorTexture ( int width, int height, Color color ) : Microsoft.Xna.Framework.Graphics.Texture2D |
helper method that generates a single color texture of the given dimensions
|
|
unload ( ) : void |
public static createSingleColorTexture ( int width, int height, Color color ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
width | int | Width. |
height | int | Height. |
color | Color | Color. |
return | Microsoft.Xna.Framework.Graphics.Texture2D |