Méthode | Description | |
---|---|---|
Begin ( ) : void |
Begins the draw operation.
|
|
CreateResource ( string fontFamily, float size, TextAccessoire accessoire ) : IFont |
Creates a new Resource.
|
|
CreateResource ( int width, int height ) : ITexture |
Creates a new Resource.
|
|
CreateResource ( string path ) : ITexture |
Creates a new Resource.
|
|
Dispose ( ) : void |
Disposes the object.
|
|
DrawString ( string text, IFont font, |
Draws a string.
|
|
DrawString ( string text, IFont font, Vector2 position, Color color ) : void |
Draws a string.
|
|
DrawTexture ( ITexture texture, |
Draws a Texture.
|
|
DrawTexture ( ITexture texture, |
Draws a Texture.
|
|
DrawTexture ( ITexture texture, SpriteSheet spriteSheet, |
Draws a Texture.
|
|
DrawTexture ( ITexture texture, SpriteSheet spriteSheet, Vector2 position, Color color, float opacity = 1 ) : void |
Draws a Texture.
|
|
DrawTexture ( ITexture texture, Vector2 position, Color color, float opacity = 1 ) : void |
Draws a Texture.
|
|
End ( ) : void |
Ends the draw operation.
|
|
Initialize ( ) : void |
Initializes the renderer.
|
|
MeasureString ( string text, IFont font ) : Vector2 |
Measures the string.
|
|
OpenGLRenderer ( ) : System |
Initializes a new OpenGLRenderer class.
|
|
ResetTransform ( ) : void |
Resets the Transform.
|
|
SetTransform ( |
Sets the Transform.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Disposes the object.
|
Méthode | Description | |
---|---|---|
GraphicsDeviceClearColorChanged ( object sender, |
Triggered if the clear color changed.
|
|
WindowScreenSizeChanged ( object sender, |
Triggered if the screen size changed.
|
public CreateResource ( string fontFamily, float size, TextAccessoire accessoire ) : IFont | ||
fontFamily | string | The FontFamily. |
size | float | The Size. |
accessoire | TextAccessoire | The TextAccessoire. |
Résultat | IFont |
public CreateResource ( int width, int height ) : ITexture | ||
width | int | The Width. |
height | int | The Height. |
Résultat | ITexture |
public CreateResource ( string path ) : ITexture | ||
path | string | The Path. |
Résultat | ITexture |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | The disposing state. |
Résultat | void |
public DrawString ( string text, IFont font, |
||
text | string | The Text. |
font | IFont | The Font. |
rectangle | The Rectangle. | |
color | Color | The Color. |
Résultat | void |
public DrawString ( string text, IFont font, Vector2 position, Color color ) : void | ||
text | string | The Text. |
font | IFont | The Font. |
position | Vector2 | The Position. |
color | Color | The Color. |
Résultat | void |
public DrawTexture ( ITexture texture, |
||
texture | ITexture | The Texture. |
rectangle | The Rectangle. | |
color | Color | The Color. |
opacity | float | The Opacity. |
Résultat | void |
public DrawTexture ( ITexture texture, |
||
texture | ITexture | The Texture. |
source | The SourceRectangle. | |
destination | The DestinationRectangle. | |
color | Color | The Color. |
opacity | float | The Opacity. |
Résultat | void |
public DrawTexture ( ITexture texture, SpriteSheet spriteSheet, |
||
texture | ITexture | The Texture. |
spriteSheet | SpriteSheet | The SpriteSheet. |
rectangle | The Rectangle. | |
color | Color | The Color. |
opacity | float | The Opacity. |
Résultat | void |
public DrawTexture ( ITexture texture, SpriteSheet spriteSheet, Vector2 position, Color color, float opacity = 1 ) : void | ||
texture | ITexture | The Texture. |
spriteSheet | SpriteSheet | The SpriteSheet. |
position | Vector2 | The Position. |
color | Color | The Color. |
opacity | float | The Opacity. |
Résultat | void |
public DrawTexture ( ITexture texture, Vector2 position, Color color, float opacity = 1 ) : void | ||
texture | ITexture | The Texture. |
position | Vector2 | The Position. |
color | Color | The Color. |
opacity | float | The Opacity. |
Résultat | void |
public MeasureString ( string text, IFont font ) : Vector2 | ||
text | string | The String. |
font | IFont | The Font. |
Résultat | Vector2 |
public SetTransform ( |
||
matrix | The Matrix. | |
Résultat | void |