C# Class WaveEngine.Components.UI.TextControl

The text block.
Inheritance: Control
Afficher le fichier Open project: WaveEngine/Components Class Usage Examples

Protected Properties

Свойство Type Description
disposed bool
isGlobalAsset bool

Private Properties

Свойство Type Description
UpdateAlignment void
UpdateSize void

Méthodes publiques

Méthode Description
CalculateAlignmentOffset ( System.Vector2 size ) : float

Calculates the alignment offset.

TextControl ( ) : System

Initializes a new instance of the TextControl class.

TextControl ( string fontPath ) : System

Initializes a new instance of the TextControl class.

TextControl ( string fontPath, bool isGlobalAsset ) : System

Initializes a new instance of the TextControl class.

Méthodes protégées

Méthode Description
DefaultValues ( ) : void

Sets default values for this instances.

Dispose ( bool disposing ) : void

The dispose.

Initialize ( ) : void

Initializes this instance.

Private Methods

Méthode Description
UpdateAlignment ( ) : void

Updates the alignment.

UpdateSize ( ) : void

Updates the size.

Method Details

CalculateAlignmentOffset() public méthode

Calculates the alignment offset.
public CalculateAlignmentOffset ( System.Vector2 size ) : float
size System.Vector2 The size.
Résultat float

DefaultValues() protected méthode

Sets default values for this instances.
protected DefaultValues ( ) : void
Résultat void

Dispose() protected méthode

The dispose.
protected Dispose ( bool disposing ) : void
disposing bool /// The disposing. ///
Résultat void

Initialize() protected méthode

Initializes this instance.
protected Initialize ( ) : void
Résultat void

TextControl() public méthode

Initializes a new instance of the TextControl class.
public TextControl ( ) : System
Résultat System

TextControl() public méthode

Initializes a new instance of the TextControl class.
public TextControl ( string fontPath ) : System
fontPath string /// The font path. ///
Résultat System

TextControl() public méthode

Initializes a new instance of the TextControl class.
public TextControl ( string fontPath, bool isGlobalAsset ) : System
fontPath string /// The font Path. ///
isGlobalAsset bool /// The is Global Asset. ///
Résultat System

Property Details

disposed protected_oe property

The disposed.
protected bool disposed
Résultat bool

isGlobalAsset protected_oe property

The is global asset.
protected bool isGlobalAsset
Résultat bool