C# Class SparrowSharp.Fonts.TextField

Inheritance: Sparrow.Display.DisplayObjectContainer
Show file Open project: fmotagarcia/sparrow-sharp Class Usage Examples

Public Properties

Property Type Description
MiniFontName string

Public Methods

Method Description
BoundsInSpace ( DisplayObject targetSpace ) : Rectangle
Render ( RenderSupport support ) : void
TextField ( float width, float height, string text = "", string fontName = "mini", float fontSize = 14, uint color = 0x0 ) : SparrowSharp.Core

Private Methods

Method Description
Redraw ( ) : void
RegisterBitmapFont ( BitmapFont bitmapFont, string fontName = null ) : string
UpdateBorder ( ) : void

Method Details

BoundsInSpace() public method

public BoundsInSpace ( DisplayObject targetSpace ) : Rectangle
targetSpace Sparrow.Display.DisplayObject
return Sparrow.Geom.Rectangle

Render() public method

public Render ( RenderSupport support ) : void
support Sparrow.Core.RenderSupport
return void

TextField() public method

public TextField ( float width, float height, string text = "", string fontName = "mini", float fontSize = 14, uint color = 0x0 ) : SparrowSharp.Core
width float
height float
text string
fontName string
fontSize float
color uint
return SparrowSharp.Core

Property Details

MiniFontName public static property

public static string MiniFontName
return string