Method | Description | |
---|---|---|
Begin ( ) : void |
Begins the draw operation.
|
|
DirectXGraphics ( ) : System |
Initializes a new DirectXGraphics class.
|
|
DrawArc ( Pen pen, |
Draws an Arc.
|
|
DrawEllipse ( Pen pen, |
Draws a Ellipse.
|
|
DrawLine ( Pen pen, Vector2 start, Vector2 target ) : void |
Draws a Line between two points.
|
|
DrawPolygon ( Pen pen, |
Draws a Polygon.
|
|
DrawRectangle ( Pen pen, |
Draws a Rectangle.
|
|
DrawString ( string text, Font font, |
Draws a string.
|
|
DrawString ( string text, Font font, Vector2 position, System.Color color ) : void |
Draws a string.
|
|
DrawTexture ( SpriteSheet spriteSheet, |
Draws a Texture.
|
|
DrawTexture ( SpriteSheet spriteSheet, Vector2 position, System.Color color, float opacity = 1 ) : void |
Draws a Texture.
|
|
DrawTexture ( Texture2D texture, |
Draws a Texture.
|
|
DrawTexture ( Texture2D texture, |
Draws a Texture.
|
|
DrawTexture ( Texture2D texture, Vector2 position, System.Color color, float opacity = 1 ) : void |
Draws a Texture.
|
|
End ( ) : void |
Ends the draw operation.
|
|
FillEllipse ( System.Color color, |
Fills a Ellipse.
|
|
FillPolygon ( System.Color color, |
Fills a Polygon.
|
|
FillRectangle ( System.Color color, |
Fills a Rectangle.
|
|
Initialize ( ) : void |
Initializes the graphics.
|
|
MeasureString ( string text, Font font ) : Vector2 |
Measures the string.
|
|
ResetTransform ( ) : void |
Resets the Transform.
|
|
SetTransform ( Matrix2x3 matrix ) : void |
Sets the Transform.
|
Method | Description | |
---|---|---|
SetHighestMultisampleType ( PresentParameters presentParameters ) : void |
Sets the highest MultisampleType.
|
public DrawArc ( Pen pen, |
||
pen | Pen | The Pen. |
rectangle | The Rectangle. | |
startAngle | float | The StartAngle. |
sweepAngle | float | The SweepAngle. |
return | void |
public DrawEllipse ( Pen pen, |
||
pen | Pen | The Pen. |
ellipse | The Ellipse. | |
return | void |
public DrawLine ( Pen pen, Vector2 start, Vector2 target ) : void | ||
pen | Pen | The Pen. |
start | Vector2 | The Startpoint. |
target | Vector2 | The Targetpoint. |
return | void |
public DrawPolygon ( Pen pen, |
||
pen | Pen | The Pen. |
polygon | The Polygon. | |
return | void |
public DrawRectangle ( Pen pen, |
||
pen | Pen | The Pen. |
rectangle | The Rectangle. | |
return | void |
public DrawString ( string text, Font font, |
||
text | string | The Text. |
font | Font | The Font. |
rectangle | The Rectangle. | |
color | System.Color | The Color. |
return | void |
public DrawString ( string text, Font font, Vector2 position, System.Color color ) : void | ||
text | string | The Text. |
font | Font | The Font. |
position | Vector2 | The Position. |
color | System.Color | The Color. |
return | void |
public DrawTexture ( SpriteSheet spriteSheet, |
||
spriteSheet | SpriteSheet | The SpriteSheet. |
rectangle | The Rectangle. | |
color | System.Color | The Color. |
opacity | float | The Opacity. |
return | void |
public DrawTexture ( SpriteSheet spriteSheet, Vector2 position, System.Color color, float opacity = 1 ) : void | ||
spriteSheet | SpriteSheet | The SpriteSheet. |
position | Vector2 | The Position. |
color | System.Color | The Color. |
opacity | float | The Opacity. |
return | void |
public DrawTexture ( Texture2D texture, |
||
texture | Texture2D | The Texture. |
rectangle | The Rectangle. | |
color | System.Color | The Color. |
opacity | float | The Opacity. |
return | void |
public DrawTexture ( Texture2D texture, |
||
texture | Texture2D | The Texture. |
source | The SourceRectangle. | |
destination | The DestinationRectangle. | |
color | System.Color | The Color. |
opacity | float | The Opacity. |
return | void |
public DrawTexture ( Texture2D texture, Vector2 position, System.Color color, float opacity = 1 ) : void | ||
texture | Texture2D | The Texture. |
position | Vector2 | The Position. |
color | System.Color | The Color. |
opacity | float | The Opacity. |
return | void |
public FillEllipse ( System.Color color, |
||
color | System.Color | The Color. |
ellipse | The Ellipse. | |
return | void |
public FillPolygon ( System.Color color, |
||
color | System.Color | The Color. |
polygon | The Polygon. | |
return | void |
public FillRectangle ( System.Color color, |
||
color | System.Color | The Color. |
rectangle | The Rectangle. | |
return | void |
public MeasureString ( string text, Font font ) : Vector2 | ||
text | string | The String. |
font | Font | The Font. |
return | Vector2 |
public SetTransform ( Matrix2x3 matrix ) : void | ||
matrix | Matrix2x3 | The Matrix. |
return | void |