C# Class Axiom.Overlays.Elements.TextArea

Label type control that can be used to display text using a specified font.
Inheritance: OverlayElement
Show file 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 property

protected int allocSize
return int

charHeight protected property

protected float charHeight
return float

colorBottom protected property

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

colorTop protected property

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

font protected property

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

haveColorsChanged protected property

protected bool haveColorsChanged
return bool

isTransparent protected property

protected bool isTransparent
return bool

pixelCharHeight protected property

protected float pixelCharHeight
return float

pixelSpaceWidth protected property

protected int pixelSpaceWidth
return int

spaceWidth protected property

protected float spaceWidth
return float

textAlign protected property

protected HorizontalAlignment textAlign
return HorizontalAlignment

viewportAspectCoef protected property

protected float viewportAspectCoef
return float