Свойство | Тип | Описание | |
---|---|---|---|
lineTexture | Microsoft.Xna.Framework.Graphics.Texture2D |
Метод | Описание | |
---|---|---|
DrawClearRectangle ( |
||
DrawCross ( |
Draws a cross.
|
|
DrawLine ( |
Draws a line!
|
|
GetClearTexture2D ( |
Gets a 1x1 texture with a clear transparent pixel in it.
|
public static DrawClearRectangle ( |
||
batch | ||
rect | ||
width | int | |
c | Color | |
Результат | 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 |
Результат | 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 | |
Результат | void |
public static GetClearTexture2D ( |
||
batch | The batch to create the texture from. | |
Результат | Microsoft.Xna.Framework.Graphics.Texture2D |