C# Class WaveEngine.Components.UI.TextControlRenderer

The text block renderer component.
Inheritance: Drawable2D
Afficher le fichier Open project: WaveEngine/Components

Méthodes publiques

Méthode Description
Draw ( System.TimeSpan gameTime ) : void

Allows to perform custom drawing.

This method will only be called if all the following points are true: The parent of the owner Entity of the Drawable cascades its visibility to its children and it is visible. The Drawable is active. The owner Entity of the Drawable is active and visible.

TextControlRenderer ( ) : System

Initializes a new instance of the TextControlRenderer class.

TextControlRenderer ( Type layerType ) : System

Initializes a new instance of the TextControlRenderer class.

TextControlRenderer ( string name, Type layerType ) : System

Initializes a new instance of the TextControlRenderer class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

DrawDebugLines ( ) : void

Helper method that draws debug lines.

This method will only work on debug mode and if RenderManager.DebugLines /> is set to true.

Method Details

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

Draw() public méthode

Allows to perform custom drawing.
This method will only be called if all the following points are true: The parent of the owner Entity of the Drawable cascades its visibility to its children and it is visible. The Drawable is active. The owner Entity of the Drawable is active and visible.
public Draw ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The elapsed game time.
Résultat void

DrawDebugLines() protected méthode

Helper method that draws debug lines.
This method will only work on debug mode and if RenderManager.DebugLines /> is set to true.
protected DrawDebugLines ( ) : void
Résultat void

TextControlRenderer() public méthode

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

TextControlRenderer() public méthode

Initializes a new instance of the TextControlRenderer class.
public TextControlRenderer ( Type layerType ) : System
layerType System.Type Type of the layer.
Résultat System

TextControlRenderer() public méthode

Initializes a new instance of the TextControlRenderer class.
public TextControlRenderer ( string name, Type layerType ) : System
name string Name of this instance.
layerType System.Type Type of the layer.
Résultat System