C# Class NinePatchSample.NinePatch.NinePatchRenderer

Inheritance: Drawable2D
Exibir arquivo Open project: WaveEngine/Samples

Protected Properties

Property Type Description
disposed bool

Public Methods

Method 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.

NinePatchRenderer ( ) : System

Initializes a new instance of the QuadRenderer class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

DrawDebugLines ( ) : void
Initialize ( ) : void

Performs further custom initialization for this instance.

ResolveDependencies ( ) : void

Private Methods

Method Description
GenerateVertices ( ) : void
RefreshMesh ( ) : void

Refresh the mesh

Method Details

Dispose() protected method

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.
return void

Draw() public method

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.
return void

DrawDebugLines() protected method

protected DrawDebugLines ( ) : void
return void

Initialize() protected method

Performs further custom initialization for this instance.
protected Initialize ( ) : void
return void

NinePatchRenderer() public method

Initializes a new instance of the QuadRenderer class.
public NinePatchRenderer ( ) : System
return System

ResolveDependencies() protected method

protected ResolveDependencies ( ) : void
return void

Property Details

disposed protected_oe property

The disposed
protected bool disposed
return bool