Method | Description | |
---|---|---|
DrawArc ( this spriteBatch, Vector2 center, float radius, int sides, float startingAngle, float radians, Color color ) : void |
Draw a arc
|
|
DrawArc ( this spriteBatch, Vector2 center, float radius, int sides, float startingAngle, float radians, Color color, float thickness ) : void |
Draw a arc
|
|
DrawArea ( this spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 pos, |
||
DrawArea ( this spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 pos, |
||
DrawCircle ( this spriteBatch, Vector2 center, float radius, int sides, Color color ) : void |
Draw a circle
|
|
DrawCircle ( this spriteBatch, Vector2 center, float radius, int sides, Color color, float thickness ) : void |
Draw a circle
|
|
DrawCircle ( this spriteBatch, float x, float y, float radius, int sides, Color color ) : void |
Draw a circle
|
|
DrawCircle ( this spriteBatch, float x, float y, float radius, int sides, Color color, float thickness ) : void |
Draw a circle
|
|
DrawLine ( this spriteBatch, Vector2 point1, Vector2 point2, Color color ) : void |
Draws a line from point1 to point2 with an offset
|
|
DrawLine ( this spriteBatch, Vector2 point1, Vector2 point2, Color color, float thickness ) : void |
Draws a line from point1 to point2 with an offset
|
|
DrawLine ( this spriteBatch, Vector2 point, float length, float angle, Color color ) : void |
Draws a line from point1 to point2 with an offset
|
|
DrawLine ( this spriteBatch, Vector2 point, float length, float angle, Color color, float thickness ) : void |
Draws a line from point1 to point2 with an offset
|
|
DrawLine ( this spriteBatch, float x1, float y1, float x2, float y2, Color color ) : void |
Draws a line from point1 to point2 with an offset
|
|
DrawLine ( this spriteBatch, float x1, float y1, float x2, float y2, Color color, float thickness ) : void |
Draws a line from point1 to point2 with an offset
|
|
DrawRectangle ( this spriteBatch, |
Draws a rectangle with the thickness provided
|
|
DrawRectangle ( this spriteBatch, |
Draws a rectangle with the thickness provided
|
|
DrawRectangle ( this spriteBatch, Vector2 location, Vector2 size, Color color ) : void |
Draws a rectangle with the thickness provided
|
|
DrawRectangle ( this spriteBatch, Vector2 location, Vector2 size, Color color, float thickness ) : void |
Draws a rectangle with the thickness provided
|
|
FillRectangle ( this spriteBatch, |
Draws a filled rectangle
|
|
FillRectangle ( this spriteBatch, |
Draws a filled rectangle
|
|
FillRectangle ( this spriteBatch, Vector2 location, Vector2 size, Color color ) : void |
Draws a filled rectangle
|
|
FillRectangle ( this spriteBatch, Vector2 location, Vector2 size, Color color, float angle ) : void |
Draws a filled rectangle
|
|
FillRectangle ( this spriteBatch, float x, float y, float w, float h, Color color ) : void |
Draws a filled rectangle
|
|
FillRectangle ( this spriteBatch, float x, float y, float w, float h, Color color, float angle ) : void |
Draws a filled rectangle
|
|
FromMonoColor ( this gdicolor, Color color ) : System.Drawing.Color | ||
PutPixel ( this spriteBatch, Vector2 position, Color color ) : void | ||
PutPixel ( this spriteBatch, float x, float y, Color color ) : void |
Method | Description | |
---|---|---|
CreateArc ( float radius, int sides, float startingAngle, float radians ) : List |
Creates a list of vectors that represents an arc
|
|
CreateCircle ( double radius, int sides ) : List |
Creates a list of vectors that represents a circle
|
|
CreateThePixel ( |
||
DrawPoints ( |
Draws a list of connecting points
|
public static DrawArc ( this spriteBatch, Vector2 center, float radius, int sides, float startingAngle, float radians, Color color ) : void | ||
spriteBatch | this | The destination drawing surface |
center | Vector2 | The center of the arc |
radius | float | The radius of the arc |
sides | int | The number of sides to generate |
startingAngle | float | The starting angle of arc, 0 being to the east, increasing as you go clockwise |
radians | float | The number of radians to draw, clockwise from the starting angle |
color | Color | The color of the arc |
return | void |
public static DrawArc ( this spriteBatch, Vector2 center, float radius, int sides, float startingAngle, float radians, Color color, float thickness ) : void | ||
spriteBatch | this | The destination drawing surface |
center | Vector2 | The center of the arc |
radius | float | The radius of the arc |
sides | int | The number of sides to generate |
startingAngle | float | The starting angle of arc, 0 being to the east, increasing as you go clockwise |
radians | float | The number of radians to draw, clockwise from the starting angle |
color | Color | The color of the arc |
thickness | float | The thickness of the arc |
return | void |
public static DrawArea ( this spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 pos, |
||
spriteBatch | this | |
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
pos | Vector2 | |
source | ||
size | Vector2 | |
color | Color | |
return | void |
public static DrawArea ( this spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 pos, |
||
spriteBatch | this | |
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
pos | Vector2 | |
source | ||
size | Vector2 | |
color | Color | |
rotation | float | |
origin | Vector2 | |
effects | SpriteEffects | |
layerDepth | float | |
return | void |
public static DrawCircle ( this spriteBatch, Vector2 center, float radius, int sides, Color color ) : void | ||
spriteBatch | this | The destination drawing surface |
center | Vector2 | The center of the circle |
radius | float | The radius of the circle |
sides | int | The number of sides to generate |
color | Color | The color of the circle |
return | void |
public static DrawCircle ( this spriteBatch, Vector2 center, float radius, int sides, Color color, float thickness ) : void | ||
spriteBatch | this | The destination drawing surface |
center | Vector2 | The center of the circle |
radius | float | The radius of the circle |
sides | int | The number of sides to generate |
color | Color | The color of the circle |
thickness | float | The thickness of the lines used |
return | void |
public static DrawCircle ( this spriteBatch, float x, float y, float radius, int sides, Color color ) : void | ||
spriteBatch | this | The destination drawing surface |
x | float | The center X of the circle |
y | float | The center Y of the circle |
radius | float | The radius of the circle |
sides | int | The number of sides to generate |
color | Color | The color of the circle |
return | void |
public static DrawCircle ( this spriteBatch, float x, float y, float radius, int sides, Color color, float thickness ) : void | ||
spriteBatch | this | The destination drawing surface |
x | float | The center X of the circle |
y | float | The center Y of the circle |
radius | float | The radius of the circle |
sides | int | The number of sides to generate |
color | Color | The color of the circle |
thickness | float | The thickness of the lines used |
return | void |
public static DrawLine ( this spriteBatch, Vector2 point1, Vector2 point2, Color color ) : void | ||
spriteBatch | this | The destination drawing surface |
point1 | Vector2 | The first point |
point2 | Vector2 | The second point |
color | Color | The color to use |
return | void |
public static DrawLine ( this spriteBatch, Vector2 point1, Vector2 point2, Color color, float thickness ) : void | ||
spriteBatch | this | The destination drawing surface |
point1 | Vector2 | The first point |
point2 | Vector2 | The second point |
color | Color | The color to use |
thickness | float | The thickness of the line |
return | void |
public static DrawLine ( this spriteBatch, Vector2 point, float length, float angle, Color color ) : void | ||
spriteBatch | this | The destination drawing surface |
point | Vector2 | The starting point |
length | float | The length of the line |
angle | float | The angle of this line from the starting point in radians |
color | Color | The color to use |
return | void |
public static DrawLine ( this spriteBatch, Vector2 point, float length, float angle, Color color, float thickness ) : void | ||
spriteBatch | this | The destination drawing surface |
point | Vector2 | The starting point |
length | float | The length of the line |
angle | float | The angle of this line from the starting point |
color | Color | The color to use |
thickness | float | The thickness of the line |
return | void |
public static DrawLine ( this spriteBatch, float x1, float y1, float x2, float y2, Color color ) : void | ||
spriteBatch | this | The destination drawing surface |
x1 | float | The X coord of the first point |
y1 | float | The Y coord of the first point |
x2 | float | The X coord of the second point |
y2 | float | The Y coord of the second point |
color | Color | The color to use |
return | void |
public static DrawLine ( this spriteBatch, float x1, float y1, float x2, float y2, Color color, float thickness ) : void | ||
spriteBatch | this | The destination drawing surface |
x1 | float | The X coord of the first point |
y1 | float | The Y coord of the first point |
x2 | float | The X coord of the second point |
y2 | float | The Y coord of the second point |
color | Color | The color to use |
thickness | float | The thickness of the line |
return | void |
public static DrawRectangle ( this spriteBatch, |
||
spriteBatch | this | The destination drawing surface |
rect | The rectangle to draw | |
color | Color | The color to draw the rectangle in |
return | void |
public static DrawRectangle ( this spriteBatch, |
||
spriteBatch | this | The destination drawing surface |
rect | The rectangle to draw | |
color | Color | The color to draw the rectangle in |
thickness | float | The thickness of the lines |
return | void |
public static DrawRectangle ( this spriteBatch, Vector2 location, Vector2 size, Color color ) : void | ||
spriteBatch | this | The destination drawing surface |
location | Vector2 | Where to draw |
size | Vector2 | The size of the rectangle |
color | Color | The color to draw the rectangle in |
return | void |
public static DrawRectangle ( this spriteBatch, Vector2 location, Vector2 size, Color color, float thickness ) : void | ||
spriteBatch | this | The destination drawing surface |
location | Vector2 | Where to draw |
size | Vector2 | The size of the rectangle |
color | Color | The color to draw the rectangle in |
thickness | float | The thickness of the line |
return | void |
public static FillRectangle ( this spriteBatch, |
||
spriteBatch | this | The destination drawing surface |
rect | The rectangle to draw | |
color | Color | The color to draw the rectangle in |
return | void |
public static FillRectangle ( this spriteBatch, |
||
spriteBatch | this | The destination drawing surface |
rect | The rectangle to draw | |
color | Color | The color to draw the rectangle in |
angle | float | The angle in radians to draw the rectangle at |
return | void |
public static FillRectangle ( this spriteBatch, Vector2 location, Vector2 size, Color color ) : void | ||
spriteBatch | this | The destination drawing surface |
location | Vector2 | Where to draw |
size | Vector2 | The size of the rectangle |
color | Color | The color to draw the rectangle in |
return | void |
public static FillRectangle ( this spriteBatch, Vector2 location, Vector2 size, Color color, float angle ) : void | ||
spriteBatch | this | The destination drawing surface |
location | Vector2 | Where to draw |
size | Vector2 | The size of the rectangle |
color | Color | The color to draw the rectangle in |
angle | float | The angle in radians to draw the rectangle at |
return | void |
public static FillRectangle ( this spriteBatch, float x, float y, float w, float h, Color color ) : void | ||
spriteBatch | this | The destination drawing surface |
x | float | The X coord of the left side |
y | float | The Y coord of the upper side |
w | float | Width |
h | float | Height |
color | Color | The color to draw the rectangle in |
return | void |
public static FillRectangle ( this spriteBatch, float x, float y, float w, float h, Color color, float angle ) : void | ||
spriteBatch | this | The destination drawing surface |
x | float | The X coord of the left side |
y | float | The Y coord of the upper side |
w | float | Width |
h | float | Height |
color | Color | The color to draw the rectangle in |
angle | float | The angle of the rectangle in radians |
return | void |
public static FromMonoColor ( this gdicolor, Color color ) : System.Drawing.Color | ||
gdicolor | this | |
color | Color | |
return | System.Drawing.Color |
public static PutPixel ( this spriteBatch, Vector2 position, Color color ) : void | ||
spriteBatch | this | |
position | Vector2 | |
color | Color | |
return | void |
public static PutPixel ( this spriteBatch, float x, float y, Color color ) : void | ||
spriteBatch | this | |
x | float | |
y | float | |
color | Color | |
return | void |