C# Class XNAInterfaceComponents.ChildComponents.XNALabel

Inheritance: XNAInterfaceComponents.AbstractComponents.ChildComponent, Drawable
ファイルを表示 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_oe property

public int paddingLeft
return int

paddingRight public_oe property

public int paddingRight
return int

textAlign public_oe property

public TextAlign textAlign
return TextAlign