Property | Type | Description | |
---|---|---|---|
lineTexture | Microsoft.Xna.Framework.Graphics.Texture2D |
Method | Description | |
---|---|---|
DrawClearRectangle ( |
||
DrawCross ( |
Draws a cross.
|
|
DrawLine ( |
Draws a line!
|
|
GetClearTexture2D ( |
Gets a 1x1 texture with a clear transparent pixel in it.
|
|
TextureTo2DArray ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : ].Color[ | ||
TextureToArray ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : Color[] |
public static DrawClearRectangle ( |
||
batch | ||
rect | ||
width | int | |
c | Color | |
z | float | |
return | void |
public static DrawCross ( |
||
batch | The SpriteBatch to draw on. | |
rect | The rectangle to draw on. | |
width | int | The width of the border. |
c | Color | The Color |
z | float | |
return | void |
public static DrawLine ( |
||
batch | The batch to draw on. | |
start | Point | Startpoint |
end | Point | Endpoint |
c | Color | The color of the line |
width | int | |
z | float | |
return | void |
public static GetClearTexture2D ( |
||
batch | The batch to create the texture from. | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static TextureTo2DArray ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : ].Color[ | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
return | ].Color[ |
public static TextureToArray ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : Color[] | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
return | Color[] |