C# Class WaveEngine.Components.UI.LineInfo

Helper to TextControl component
Show file Open project: WaveEngine/Components Class Usage Examples

Public Properties

Property Type Description
AlignmentOffsetX float
Size System.Vector2
SubTextList List

Public Methods

Method Description
AddText ( string text, System.Color color, System.Vector2 size ) : void

Add text to the line

LineInfo ( float offsetX ) : System

Initializes a new instance of the LineInfo struct.

LineInfo ( string text, System.Color color, System.Vector2 size, float offsetX ) : System

Initializes a new instance of the LineInfo struct.

Method Details

AddText() public method

Add text to the line
public AddText ( string text, System.Color color, System.Vector2 size ) : void
text string The text.
color System.Color The color.
size System.Vector2 The size.
return void

LineInfo() public method

Initializes a new instance of the LineInfo struct.
public LineInfo ( float offsetX ) : System
offsetX float offset X alignment.
return System

LineInfo() public method

Initializes a new instance of the LineInfo struct.
public LineInfo ( string text, System.Color color, System.Vector2 size, float offsetX ) : System
text string The text.
color System.Color The color.
size System.Vector2 The size.
offsetX float offset X alignment.
return System

Property Details

AlignmentOffsetX public property

The offset alignment
public float AlignmentOffsetX
return float

Size public property

The size
public Vector2,System Size
return System.Vector2

SubTextList public property

Sub text list
public List SubTextList
return List