C# Class LuxEngine.TextArea

Inheritance: Scene
Exibir arquivo Open project: Louis-Dureuil/maya-vs-the-world

Public Properties

Property Type Description
Size Vector2
overBehaviour OnOvertaking

Public Methods

Method Description
AddLine ( int offset ) : void
AddRowToLine ( int offset, int Line ) : void
AlignContent ( ) : void
CellPosition ( int line, int column ) : Vector2
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LastRow ( int line ) : int
ScaleContent ( int i, int j ) : void
SuppressOvertaking ( ) : void
TextArea ( Scene parent, int Width, int Height, OnOvertaking overBehaviour ) : System
TextAtCell ( int Line, int Row ) : Text
TreatOvertaking ( int i, int j ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
CalculateScale ( float Size, int Border, int Origin ) : float
IsOvertaking ( int i, int j ) : bool

Method Details

AddLine() public method

public AddLine ( int offset ) : void
offset int
return void

AddRowToLine() public method

public AddRowToLine ( int offset, int Line ) : void
offset int
Line int
return void

AlignContent() public method

public AlignContent ( ) : void
return void

CellPosition() public method

public CellPosition ( int line, int column ) : Vector2
line int
column int
return Vector2

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Initialize() public method

public Initialize ( ) : void
return void

LastRow() public method

public LastRow ( int line ) : int
line int
return int

ScaleContent() public method

public ScaleContent ( int i, int j ) : void
i int
j int
return void

SuppressOvertaking() public method

public SuppressOvertaking ( ) : void
return void

TextArea() public method

public TextArea ( Scene parent, int Width, int Height, OnOvertaking overBehaviour ) : System
parent Scene
Width int
Height int
overBehaviour OnOvertaking
return System

TextAtCell() public method

public TextAtCell ( int Line, int Row ) : Text
Line int
Row int
return Text

TreatOvertaking() public method

public TreatOvertaking ( int i, int j ) : void
i int
j int
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Property Details

Size public_oe property

public Vector2 Size
return Vector2

overBehaviour public_oe property

public OnOvertaking overBehaviour
return OnOvertaking