Method | Description | |
---|---|---|
DrawString ( |
Draw a StringBuilder.
|
|
DrawString ( |
Draw a StringBuilder.
|
|
DrawString ( |
Draw a StringBuilder.
|
|
DrawString ( |
Draw a String.
|
|
DrawString ( |
Draw a String.
|
|
DrawString ( |
Draw a String.
|
|
DrawString ( StringBuilder text, Vector2 position, Color color ) : void |
Draw a StringBuilder.
|
|
DrawString ( StringBuilder text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth ) : void |
Draw a StringBuilder.
|
|
DrawString ( StringBuilder text, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth ) : void |
Draw a StringBuilder.
|
|
DrawString ( string text, Vector2 position, Color color ) : void |
Draw a String.
|
|
DrawString ( string text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth ) : void |
Draw a String.
|
|
DrawString ( string text, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth ) : void |
Draw a String.
|
Method | Description | |
---|---|---|
Graphics2D ( Microsoft.Xna.Framework.Game game ) : System |
public DrawString ( |
||
spriteFont | A font for diplaying text. | |
text | StringBuilder | A text string. |
position | Vector2 | The location (in screen coordinates) to draw the sprite. |
color | Color | The color to tint a sprite. Use Color.White for full color with no tinting. |
return | void |
public DrawString ( |
||
spriteFont | A font for diplaying text. | |
text | StringBuilder | A text string. |
position | Vector2 | The location (in screen coordinates) to draw the sprite. |
color | Color | The color to tint a sprite. Use Color.White for full color with no tinting. |
rotation | float | Specifies the angle (in radians) to rotate the sprite about its center. |
origin | Vector2 | The sprite origin; the default is (0,0) which represents the upper-left corner. |
scale | Vector2 | Scale factor. |
effects | SpriteEffects | Effects to apply. |
layerDepth | float | The depth of a layer. |
return | void |
public DrawString ( |
||
spriteFont | A font for diplaying text. | |
text | StringBuilder | A text string. |
position | Vector2 | The location (in screen coordinates) to draw the sprite. |
color | Color | The color to tint a sprite. Use Color.White for full color with no tinting. |
rotation | float | Specifies the angle (in radians) to rotate the sprite about its center. |
origin | Vector2 | The sprite origin; the default is (0,0) which represents the upper-left corner. |
scale | float | Scale factor. |
effects | SpriteEffects | Effects to apply. |
layerDepth | float | The depth of a layer. |
return | void |
public DrawString ( |
||
spriteFont | A font for diplaying text. | |
text | string | A text string. |
position | Vector2 | The location (in screen coordinates) to draw the sprite. |
color | Color | The color to tint a sprite. Use Color.White for full color with no tinting. |
return | void |
public DrawString ( |
||
spriteFont | A font for diplaying text. | |
text | string | A text string. |
position | Vector2 | The location (in screen coordinates) to draw the sprite. |
color | Color | The color to tint a sprite. Use Color.White for full color with no tinting. |
rotation | float | Specifies the angle (in radians) to rotate the sprite about its center. |
origin | Vector2 | The sprite origin; the default is (0,0) which represents the upper-left corner. |
scale | Vector2 | Scale factor. |
effects | SpriteEffects | Effects to apply. |
layerDepth | float | The depth of a layer. |
return | void |
public DrawString ( |
||
spriteFont | A font for diplaying text. | |
text | string | A text string. |
position | Vector2 | The location (in screen coordinates) to draw the sprite. |
color | Color | The color to tint a sprite. Use Color.White for full color with no tinting. |
rotation | float | Specifies the angle (in radians) to rotate the sprite about its center. |
origin | Vector2 | The sprite origin; the default is (0,0) which represents the upper-left corner. |
scale | float | Scale factor. |
effects | SpriteEffects | Effects to apply. |
layerDepth | float | The depth of a layer. |
return | void |
public DrawString ( StringBuilder text, Vector2 position, Color color ) : void | ||
text | StringBuilder | A text string. |
position | Vector2 | The location (in screen coordinates) to draw the sprite. |
color | Color | The color to tint a sprite. Use Color.White for full color with no tinting. |
return | void |
public DrawString ( StringBuilder text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth ) : void | ||
text | StringBuilder | A text string. |
position | Vector2 | The location (in screen coordinates) to draw the sprite. |
color | Color | The color to tint a sprite. Use Color.White for full color with no tinting. |
rotation | float | Specifies the angle (in radians) to rotate the sprite about its center. |
origin | Vector2 | The sprite origin; the default is (0,0) which represents the upper-left corner. |
scale | Vector2 | Scale factor. |
effects | SpriteEffects | Effects to apply. |
layerDepth | float | The depth of a layer. |
return | void |
public DrawString ( StringBuilder text, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth ) : void | ||
text | StringBuilder | A text string. |
position | Vector2 | The location (in screen coordinates) to draw the sprite. |
color | Color | The color to tint a sprite. Use Color.White for full color with no tinting. |
rotation | float | Specifies the angle (in radians) to rotate the sprite about its center. |
origin | Vector2 | The sprite origin; the default is (0,0) which represents the upper-left corner. |
scale | float | Scale factor. |
effects | SpriteEffects | Effects to apply. |
layerDepth | float | The depth of a layer. |
return | void |
public DrawString ( string text, Vector2 position, Color color ) : void | ||
text | string | A text string. |
position | Vector2 | The location (in screen coordinates) to draw the sprite. |
color | Color | The color to tint a sprite. Use Color.White for full color with no tinting. |
return | void |
public DrawString ( string text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth ) : void | ||
text | string | A text string. |
position | Vector2 | The location (in screen coordinates) to draw the sprite. |
color | Color | The color to tint a sprite. Use Color.White for full color with no tinting. |
rotation | float | Specifies the angle (in radians) to rotate the sprite about its center. |
origin | Vector2 | The sprite origin; the default is (0,0) which represents the upper-left corner. |
scale | Vector2 | Scale factor. |
effects | SpriteEffects | Effects to apply. |
layerDepth | float | The depth of a layer. |
return | void |
public DrawString ( string text, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth ) : void | ||
text | string | A text string. |
position | Vector2 | The location (in screen coordinates) to draw the sprite. |
color | Color | The color to tint a sprite. Use Color.White for full color with no tinting. |
rotation | float | Specifies the angle (in radians) to rotate the sprite about its center. |
origin | Vector2 | The sprite origin; the default is (0,0) which represents the upper-left corner. |
scale | float | Scale factor. |
effects | SpriteEffects | Effects to apply. |
layerDepth | float | The depth of a layer. |
return | void |