Struct LineInfo
The text line info to render.
Namespace: Evergine.Components.Fonts
Assembly: Evergine.Components.dll
Syntax
public struct LineInfo
Fields
AlignmentOffsetX
The X offset needed for different horizontal alignments (Left, Center, Right).
Declaration
public float AlignmentOffsetX
Field Value
Type | Description |
---|---|
float |
Glyphs
The collection of line glyphs.
Declaration
public List<GlyphRenderInfo> Glyphs
Field Value
Type | Description |
---|---|
List<GlyphRenderInfo> |
Position
The text line start position.
Declaration
public Vector2 Position
Field Value
Type | Description |
---|---|
Vector2 |
Size
The bounding box of the text line.
Declaration
public Vector2 Size
Field Value
Type | Description |
---|---|
Vector2 |
Text
The single-line text.
Declaration
public string Text
Field Value
Type | Description |
---|---|
string |