C# Class RenderingLibrary.Graphics.Text

Inheritance: IRenderableIpso, IVisible
ファイルを表示 Open project: vchelaru/FlatRedBall Class Usage Examples

Public Properties

Property Type Description
Color Color
Position Vector2
mIsTextureCreationSuppressed bool

Private Properties

Property Type Description
IRenderable void
IRenderableIpso void
MeasureString float
RenderUsingBitmapFont void
RenderUsingSpriteFont void
SetNeedsRefresh void
Text System
UpdateLinePrimitive void
UpdateWrappedText void

Public Methods

Method Description
EnableTextureCreation ( ) : void
Render ( SpriteRenderer spriteRenderer, SystemManagers managers ) : void
SetNeedsRefreshToTrue ( ) : void
SuppressTextureCreation ( ) : void
Text ( SystemManagers managers, string text = "Hello" ) : System
ToString ( ) : string
TryUpdateTextureToRender ( ) : void
UpdatePreRenderDimensions ( ) : void
UpdateTextureToRender ( ) : void

Private Methods

Method Description
IRenderable ( ) : void
IRenderableIpso ( IRenderableIpso parent ) : void
MeasureString ( string whatToMeasure ) : float
RenderUsingBitmapFont ( SpriteRenderer spriteRenderer, SystemManagers managers ) : void
RenderUsingSpriteFont ( SpriteRenderer spriteRenderer ) : void
SetNeedsRefresh ( object sender, EventArgs args ) : void
Text ( ) : System
UpdateLinePrimitive ( ) : void
UpdateWrappedText ( ) : void

Method Details

EnableTextureCreation() public method

public EnableTextureCreation ( ) : void
return void

Render() public method

public Render ( SpriteRenderer spriteRenderer, SystemManagers managers ) : void
spriteRenderer SpriteRenderer
managers SystemManagers
return void

SetNeedsRefreshToTrue() public method

public SetNeedsRefreshToTrue ( ) : void
return void

SuppressTextureCreation() public method

public SuppressTextureCreation ( ) : void
return void

Text() public method

public Text ( SystemManagers managers, string text = "Hello" ) : System
managers SystemManagers
text string
return System

ToString() public method

public ToString ( ) : string
return string

TryUpdateTextureToRender() public method

public TryUpdateTextureToRender ( ) : void
return void

UpdatePreRenderDimensions() public method

public UpdatePreRenderDimensions ( ) : void
return void

UpdateTextureToRender() public method

public UpdateTextureToRender ( ) : void
return void

Property Details

Color public_oe property

public Color Color
return Color

Position public_oe property

public Vector2 Position
return Vector2

mIsTextureCreationSuppressed public_oe property

public bool mIsTextureCreationSuppressed
return bool