C# Class SparrowSharp.Fonts.TextField

Inheritance: Sparrow.Display.DisplayObjectContainer
Afficher le fichier Open project: fmotagarcia/sparrow-sharp Class Usage Examples

Méthodes publiques

Свойство Type Description
MiniFontName string

Méthodes publiques

Méthode 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

Méthode Description
Redraw ( ) : void
RegisterBitmapFont ( BitmapFont bitmapFont, string fontName = null ) : string
UpdateBorder ( ) : void

Method Details

BoundsInSpace() public méthode

public BoundsInSpace ( DisplayObject targetSpace ) : Rectangle
targetSpace Sparrow.Display.DisplayObject
Résultat Sparrow.Geom.Rectangle

Render() public méthode

public Render ( RenderSupport support ) : void
support Sparrow.Core.RenderSupport
Résultat void

TextField() public méthode

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
Résultat SparrowSharp.Core

Property Details

MiniFontName public_oe static_oe property

public static string MiniFontName
Résultat string