C# Class Axiom.Overlays.Elements.TextArea

Label type control that can be used to display text using a specified font.
Inheritance: OverlayElement
显示文件 Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
allocSize int
charHeight float
colorBottom Axiom.Core.ColorEx
colorTop Axiom.Core.ColorEx
font Axiom.Fonts.Font
haveColorsChanged bool
isTransparent bool
pixelCharHeight float
pixelSpaceWidth int
spaceWidth float
textAlign HorizontalAlignment
viewportAspectCoef float

Public Methods

Method Description
Initialize ( ) : void

Update ( ) : void

Override to update char sizing based on current viewport settings.

Protected Methods

Method Description
CheckMemoryAllocation ( int numChars ) : void

UpdateColors ( ) : void

UpdateGeometry ( ) : void

UpdatePositionGeometry ( ) : void

UpdateTextureGeometry ( ) : void

Private Methods

Method Description
TextArea ( string name ) : System

Basic constructor, internal since it should only be created by factories.

Method Details

CheckMemoryAllocation() protected method

protected CheckMemoryAllocation ( int numChars ) : void
numChars int
return void

Initialize() public method

public Initialize ( ) : void
return void

Update() public method

Override to update char sizing based on current viewport settings.
public Update ( ) : void
return void

UpdateColors() protected method

protected UpdateColors ( ) : void
return void

UpdateGeometry() protected method

protected UpdateGeometry ( ) : void
return void

UpdatePositionGeometry() protected method

protected UpdatePositionGeometry ( ) : void
return void

UpdateTextureGeometry() protected method

protected UpdateTextureGeometry ( ) : void
return void

Property Details

allocSize protected_oe property

protected int allocSize
return int

charHeight protected_oe property

protected float charHeight
return float

colorBottom protected_oe property

protected ColorEx,Axiom.Core colorBottom
return Axiom.Core.ColorEx

colorTop protected_oe property

protected ColorEx,Axiom.Core colorTop
return Axiom.Core.ColorEx

font protected_oe property

protected Font,Axiom.Fonts font
return Axiom.Fonts.Font

haveColorsChanged protected_oe property

protected bool haveColorsChanged
return bool

isTransparent protected_oe property

protected bool isTransparent
return bool

pixelCharHeight protected_oe property

protected float pixelCharHeight
return float

pixelSpaceWidth protected_oe property

protected int pixelSpaceWidth
return int

spaceWidth protected_oe property

protected float spaceWidth
return float

textAlign protected_oe property

protected HorizontalAlignment textAlign
return HorizontalAlignment

viewportAspectCoef protected_oe property

protected float viewportAspectCoef
return float