C# Class XNAInterfaceComponents.ChildComponents.XNALabel

Inheritance: XNAInterfaceComponents.AbstractComponents.ChildComponent, Drawable
Show file Open project: Wotuu/RTS_XNA_v2 Class Usage Examples

Public Properties

Property Type Description
paddingLeft int
paddingRight int
textAlign TextAlign

Public Methods

Method Description
Draw ( SpriteBatch sb ) : void
OnMouseEnter ( MouseEvent e ) : void
OnMouseExit ( MouseEvent e ) : void
Unload ( ) : void
Update ( ) : void
XNALabel ( ParentComponent parent, Rectangle bounds, String text ) : System

Method Details

Draw() public method

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

OnMouseEnter() public method

public OnMouseEnter ( MouseEvent e ) : void
e MouseEvent
return void

OnMouseExit() public method

public OnMouseExit ( MouseEvent e ) : void
e MouseEvent
return void

Unload() public method

public Unload ( ) : void
return void

Update() public method

public Update ( ) : void
return void

XNALabel() public method

public XNALabel ( ParentComponent parent, Rectangle bounds, String text ) : System
parent XNAInterfaceComponents.AbstractComponents.ParentComponent
bounds Microsoft.Xna.Framework.Rectangle
text String
return System

Property Details

paddingLeft public property

public int paddingLeft
return int

paddingRight public property

public int paddingRight
return int

textAlign public property

public TextAlign textAlign
return TextAlign