Method | Description | |
---|---|---|
CreateCircleTexture ( GraphicsDevice graphicsDevice, int radius, int borderWidth, int borderInnerTransitionWidth, int borderOuterTransitionWidth, Color color, Color borderColor ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
DrawBox ( |
||
DrawBoxFilled ( |
||
DrawBoxFilled ( |
||
DrawBoxFilled ( |
||
DrawCircle ( |
||
DrawCircleFilled ( |
||
DrawLine ( |
||
DrawLine ( |
||
DrawPath ( |
||
DrawPixel ( |
||
DrawPolygon ( |
||
DrawPolygonFilled ( |
||
Drawing ( IGame game ) : System |
Method | Description | |
---|---|---|
makeCircle ( Vector2 position, float radius, int numpoints ) : Vector2[] | ||
resizeBasicEffect ( ) : void |
public CreateCircleTexture ( GraphicsDevice graphicsDevice, int radius, int borderWidth, int borderInnerTransitionWidth, int borderOuterTransitionWidth, Color color, Color borderColor ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
graphicsDevice | GraphicsDevice | |
radius | int | |
borderWidth | int | |
borderInnerTransitionWidth | int | |
borderOuterTransitionWidth | int | |
color | Color | |
borderColor | Color | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public DrawBox ( |
||
spriteBatch | ||
r | ||
c | Color | |
lineWidth | int | |
return | void |
public DrawBoxFilled ( |
||
sb | ||
r | ||
c | Color | |
return | void |
public DrawBoxFilled ( |
||
sb | ||
upperLeft | Vector2 | |
lowerRight | Vector2 | |
c | Color | |
return | void |
public DrawBoxFilled ( |
||
sb | ||
x | float | |
y | float | |
w | float | |
h | float | |
c | Color | |
return | void |
public DrawCircle ( |
||
sb | ||
position | Vector2 | |
radius | float | |
c | Color | |
linewidth | int | |
return | void |
public DrawCircleFilled ( |
||
spriteBatch | ||
position | Vector2 | |
radius | float | |
color | Color | |
return | void |
public DrawLine ( |
||
spriteBatch | ||
startpos | Vector2 | |
endpos | Vector2 | |
c | Color | |
linewidth | int | |
return | void |
public DrawLine ( |
||
spriteBatch | ||
x1 | float | |
y1 | float | |
x2 | float | |
y2 | float | |
color | Color | |
lineWidth | int | |
return | void |
public DrawPath ( |
||
spriteBatch | ||
points | Vector2 | |
color | Color | |
lineWidth | int | |
return | void |
public DrawPixel ( |
||
spriteBatch | ||
x | int | |
y | int | |
color | Color | |
return | void |
public DrawPolygon ( |
||
spriteBatch | ||
points | Vector2 | |
color | Color | |
lineWidth | int | |
return | void |
public DrawPolygonFilled ( |
||
spriteBatch | ||
worldPoints | Vector2 | |
color | Color | |
return | void |