C# Class XNAGraphics.ComponentBundle.DrawableBundle.BorderedText

Inheritance: XNAGraphics.KernelBundle.BasicsBundle.BasicDrawable
Datei anzeigen Open project: joseruizjimenez/personal-training-martial-arts

Public Properties

Property Type Description
border float
border_color Color
text string

Public Methods

Method Description
BorderedText ( Object font, string text, float border, Color border_color ) : System
BorderedText ( Object font, string text, int x, int y, Color color, float border, Color border_color ) : System
BorderedText ( Object font, string text, int x, int y, float border, Color border_color ) : System

Protected Methods

Method Description
onDraw ( SpriteBatch spriteBatch ) : void
onLoad ( Microsoft.Xna.Framework.Game game ) : void
onUpdate ( GameTime gameTime ) : void

Method Details

BorderedText() public method

public BorderedText ( Object font, string text, float border, Color border_color ) : System
font Object
text string
border float
border_color Color
return System

BorderedText() public method

public BorderedText ( Object font, string text, int x, int y, Color color, float border, Color border_color ) : System
font Object
text string
x int
y int
color Color
border float
border_color Color
return System

BorderedText() public method

public BorderedText ( Object font, string text, int x, int y, float border, Color border_color ) : System
font Object
text string
x int
y int
border float
border_color Color
return System

onDraw() protected method

protected onDraw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

onLoad() protected method

protected onLoad ( Microsoft.Xna.Framework.Game game ) : void
game Microsoft.Xna.Framework.Game
return void

onUpdate() protected method

protected onUpdate ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Property Details

border public_oe property

public float border
return float

border_color public_oe property

public Color border_color
return Color

text public_oe property

public string text
return string