C# Class Nez.TextRunComponent

very basic wrapper around TextRun. Note that the TextRunComponent.compile method should be used not TextRun.compile so that the Component data can be passed off to the TextRun.
Inheritance: RenderableComponent
Exibir arquivo Open project: prime31/Nez

Public Properties

Property Type Description
textRun TextRun

Public Methods

Method Description
TextRunComponent ( TextRun textRun )
compile ( ) : void

calls through to TextRun.compile and handles marshalling some data between this Component and the underlying TextRun

render ( Graphics graphics, Camera camera ) : void

Method Details

TextRunComponent() public method

public TextRunComponent ( TextRun textRun )
textRun TextRun

compile() public method

calls through to TextRun.compile and handles marshalling some data between this Component and the underlying TextRun
public compile ( ) : void
return void

render() public method

public render ( Graphics graphics, Camera camera ) : void
graphics Graphics
camera Camera
return void

Property Details

textRun public_oe property

public TextRun,Nez textRun
return TextRun