Method | Description | |
---|---|---|
CreateGradient ( GraphicsDevice graphicsDevice, Color color1, Color color2 ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
CreateGradient ( GraphicsDevice graphicsDevice, Color topLeft, Color topRight, Color bottomLeft, Color bottomRight ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
CreateGradient ( GraphicsDevice graphicsDevice, |
||
CreateTexture ( GraphicsDevice graphicsDevice, Color color ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
CreateTexture ( GraphicsDevice graphicsDevice, int width, int height, Color color ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
DrawColoredRectangle ( this spriteBatch, Color color, |
||
DrawScaledString ( this spriteBatch, |
||
DrawStringInRectangle ( this spriteBatch, |
||
InvertTexture ( IScreen screen, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
LoadEffect ( this screen, string name ) : |
||
LoadFont ( this screen, string name ) : |
||
LoadModel ( this screen, string name ) : |
||
LoadTexture ( this screen, string name ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
ScaleStringInRectangle ( this spriteBatch, |
||
TextPosition ( |
Method | Description | |
---|---|---|
Hash ( ) : int | ||
LoadModel ( Microsoft.Xna.Framework.Content.ContentManager content, IRenderEffect pp, string name ) : |
||
LoadTextureFromContentPipeline ( IScreen screen, string name ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
LoadTextureFromFile ( IScreen screen, string name ) : Microsoft.Xna.Framework.Graphics.Texture2D |
public static CreateGradient ( GraphicsDevice graphicsDevice, Color color1, Color color2 ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
graphicsDevice | GraphicsDevice | |
color1 | Color | |
color2 | Color | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static CreateGradient ( GraphicsDevice graphicsDevice, Color topLeft, Color topRight, Color bottomLeft, Color bottomRight ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
graphicsDevice | GraphicsDevice | |
topLeft | Color | |
topRight | Color | |
bottomLeft | Color | |
bottomRight | Color | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static CreateGradient ( GraphicsDevice graphicsDevice, |
||
graphicsDevice | GraphicsDevice | |
coloring | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static CreateTexture ( GraphicsDevice graphicsDevice, Color color ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
graphicsDevice | GraphicsDevice | |
color | Color | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static CreateTexture ( GraphicsDevice graphicsDevice, int width, int height, Color color ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
graphicsDevice | GraphicsDevice | |
width | int | |
height | int | |
color | Color | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static DrawColoredRectangle ( this spriteBatch, Color color, |
||
spriteBatch | this | |
color | Color | |
bounds | ||
return | void |
public static DrawScaledString ( this spriteBatch, |
||
spriteBatch | this | |
font | ||
text | string | |
color | Color | |
position | ScreenPoint | |
scale | Vector2 | |
return | void |
public static DrawStringInRectangle ( this spriteBatch, |
||
spriteBatch | this | |
font | ||
text | string | |
color | Color | |
bounds | ||
alignX | HorizontalAlignment | |
alignY | VerticalAlignment | |
return | void |
public static InvertTexture ( IScreen screen, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
screen | IScreen | |
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static LoadEffect ( this screen, string name ) : |
||
screen | this | |
name | string | |
return |
public static LoadFont ( this screen, string name ) : |
||
screen | this | |
name | string | |
return |
public static LoadModel ( this screen, string name ) : |
||
screen | this | |
name | string | |
return |
public static LoadTexture ( this screen, string name ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
screen | this | |
name | string | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static ScaleStringInRectangle ( this spriteBatch, |
||
spriteBatch | this | |
font | ||
text | string | |
color | Color | |
bounds | ||
alignX | HorizontalAlignment | |
alignY | VerticalAlignment | |
return | Vector2 |
public static TextPosition ( |
||
font | ||
text | string | |
scale | Vector2 | |
position | Vector2 | |
size | Vector2 | |
alignX | HorizontalAlignment | |
alignY | VerticalAlignment | |
return | Vector2 |