Method | Description | |
---|---|---|
drawCircle ( this spriteBatch, Vector2 position, float radius, Color color, float thickness = 1f, int resolution = 12 ) : void | ||
drawCircle ( this spriteBatch, float x, float y, float radius, Color color, int resolution ) : void | ||
drawHollowRect ( this spriteBatch, |
||
drawHollowRect ( this spriteBatch, RectangleF rect, Color color ) : void | ||
drawHollowRect ( this spriteBatch, Vector2 position, float width, float height, Color color ) : void | ||
drawHollowRect ( this spriteBatch, float x, float y, float width, float height, Color color ) : void | ||
drawLine ( this spriteBatch, Vector2 start, Vector2 end, Color color ) : void | ||
drawLine ( this spriteBatch, Vector2 start, Vector2 end, Color color, float thickness ) : void | ||
drawLine ( this spriteBatch, float x1, float y1, float x2, float y2, Color color ) : void | ||
drawLineAngle ( this spriteBatch, Vector2 start, float angle, float length, Color color ) : void | ||
drawLineAngle ( this spriteBatch, Vector2 start, float angle, float length, Color color, float thickness ) : void | ||
drawLineAngle ( this spriteBatch, float startX, float startY, float angle, float length, Color color ) : void | ||
drawPixel ( this spriteBatch, Vector2 position, Color color, int size = 1 ) : void | ||
drawPixel ( this spriteBatch, float x, float y, Color color ) : void | ||
drawPoints ( this spriteBatch, List |
Draws a list of connected points
|
|
drawPoints ( this spriteBatch, Vector2 points, Color color, float thickness = 1 ) : void |
Draws a list of connected points
|
|
drawPoints ( this spriteBatch, Vector2 position, Vector2 points, Color color, bool closePoly = true, float thickness = 1 ) : void |
Draws a list of connected points
|
|
drawPolygon ( this spriteBatch, Vector2 position, Vector2 points, Color color, bool closePoly = true, float thickness = 1 ) : void | ||
drawRect ( this spriteBatch, |
||
drawRect ( this spriteBatch, Vector2 position, float width, float height, Color color ) : void | ||
drawRect ( this spriteBatch, float x, float y, float width, float height, Color color ) : void |
public static drawCircle ( this spriteBatch, Vector2 position, float radius, Color color, float thickness = 1f, int resolution = 12 ) : void | ||
spriteBatch | this | |
position | Vector2 | |
radius | float | |
color | Color | |
thickness | float | |
resolution | int | |
return | void |
public static drawCircle ( this spriteBatch, float x, float y, float radius, Color color, int resolution ) : void | ||
spriteBatch | this | |
x | float | |
y | float | |
radius | float | |
color | Color | |
resolution | int | |
return | void |
public static drawHollowRect ( this spriteBatch, |
||
spriteBatch | this | |
rect | ||
color | Color | |
return | void |
public static drawHollowRect ( this spriteBatch, RectangleF rect, Color color ) : void | ||
spriteBatch | this | |
rect | RectangleF | |
color | Color | |
return | void |
public static drawHollowRect ( this spriteBatch, Vector2 position, float width, float height, Color color ) : void | ||
spriteBatch | this | |
position | Vector2 | |
width | float | |
height | float | |
color | Color | |
return | void |
public static drawHollowRect ( this spriteBatch, float x, float y, float width, float height, Color color ) : void | ||
spriteBatch | this | |
x | float | |
y | float | |
width | float | |
height | float | |
color | Color | |
return | void |
public static drawLine ( this spriteBatch, Vector2 start, Vector2 end, Color color ) : void | ||
spriteBatch | this | |
start | Vector2 | |
end | Vector2 | |
color | Color | |
return | void |
public static drawLine ( this spriteBatch, Vector2 start, Vector2 end, Color color, float thickness ) : void | ||
spriteBatch | this | |
start | Vector2 | |
end | Vector2 | |
color | Color | |
thickness | float | |
return | void |
public static drawLine ( this spriteBatch, float x1, float y1, float x2, float y2, Color color ) : void | ||
spriteBatch | this | |
x1 | float | |
y1 | float | |
x2 | float | |
y2 | float | |
color | Color | |
return | void |
public static drawLineAngle ( this spriteBatch, Vector2 start, float angle, float length, Color color ) : void | ||
spriteBatch | this | |
start | Vector2 | |
angle | float | |
length | float | |
color | Color | |
return | void |
public static drawLineAngle ( this spriteBatch, Vector2 start, float angle, float length, Color color, float thickness ) : void | ||
spriteBatch | this | |
start | Vector2 | |
angle | float | |
length | float | |
color | Color | |
thickness | float | |
return | void |
public static drawLineAngle ( this spriteBatch, float startX, float startY, float angle, float length, Color color ) : void | ||
spriteBatch | this | |
startX | float | |
startY | float | |
angle | float | |
length | float | |
color | Color | |
return | void |
public static drawPixel ( this spriteBatch, Vector2 position, Color color, int size = 1 ) : void | ||
spriteBatch | this | |
position | Vector2 | |
color | Color | |
size | int | |
return | void |
public static drawPixel ( this spriteBatch, float x, float y, Color color ) : void | ||
spriteBatch | this | |
x | float | |
y | float | |
color | Color | |
return | void |
public static drawPoints ( this spriteBatch, List |
||
spriteBatch | this | |
points | List |
The points to connect with lines |
color | Color | The color to use |
thickness | float | The thickness of the lines |
return | void |
public static drawPoints ( this spriteBatch, Vector2 points, Color color, float thickness = 1 ) : void | ||
spriteBatch | this | |
points | Vector2 | The points to connect with lines |
color | Color | The color to use |
thickness | float | The thickness of the lines |
return | void |
public static drawPoints ( this spriteBatch, Vector2 position, Vector2 points, Color color, bool closePoly = true, float thickness = 1 ) : void | ||
spriteBatch | this | |
position | Vector2 | |
points | Vector2 | The points to connect with lines |
color | Color | The color to use |
closePoly | bool | If set to |
thickness | float | The thickness of the lines |
return | void |
public static drawPolygon ( this spriteBatch, Vector2 position, Vector2 points, Color color, bool closePoly = true, float thickness = 1 ) : void | ||
spriteBatch | this | |
position | Vector2 | |
points | Vector2 | |
color | Color | |
closePoly | bool | |
thickness | float | |
return | void |
public static drawRect ( this spriteBatch, |
||
spriteBatch | this | |
rect | ||
color | Color | |
return | void |
public static drawRect ( this spriteBatch, Vector2 position, float width, float height, Color color ) : void | ||
spriteBatch | this | |
position | Vector2 | |
width | float | |
height | float | |
color | Color | |
return | void |
public static drawRect ( this spriteBatch, float x, float y, float width, float height, Color color ) : void | ||
spriteBatch | this | |
x | float | |
y | float | |
width | float | |
height | float | |
color | Color | |
return | void |