C# Class Dodgeball.Engine.Text

Inheritance: GameObject
Show file Open project: schonstal/BLOODBALL Class Usage Examples

Public Properties

Property Type Description
alpha float
blend Microsoft.Xna.Framework.Graphics.BlendState
color Color
font string
screenPositioning ScreenPositioning
text string
visible bool

Public Methods

Method Description
Draw ( ) : void
Text ( string text, float x = 0f, float y = 0f, int width, int height ) : System

Method Details

Draw() public method

public Draw ( ) : void
return void

Text() public method

public Text ( string text, float x = 0f, float y = 0f, int width, int height ) : System
text string
x float
y float
width int
height int
return System

Property Details

alpha public property

public float alpha
return float

blend public property

public BlendState,Microsoft.Xna.Framework.Graphics blend
return Microsoft.Xna.Framework.Graphics.BlendState

color public property

public Color color
return Color

font public property

public string font
return string

screenPositioning public property

public ScreenPositioning screenPositioning
return ScreenPositioning

text public property

public string text
return string

visible public property

public bool visible
return bool