Interface ILine
- Namespace
- RichHudFramework.UI.Rendering
- Assembly
- RichHudClient.dll
Represents a single horizontal line of text within a ITextBuilder.
This interface serves as a collection of IRichChar and stores line-specific layout properties, such as the line's dimensions and vertical offset.
public interface ILine : IIndexedCollection<IRichChar>
- Inherited Members
Properties
this[int]
Retrieves the IRichChar at the specified index.
Note: This creates temporary index based wrapper objects. Reference equality checks between calls may fail.
IRichChar this[int index] { get; }
Parameters
indexint
Property Value
Size
The dimensions of the line as rendered. X = Width (sum of character advances), Y = Max height of characters in the line.
Vector2 Size { get; }
Property Value
VerticalOffset
The vertical position of this line relative to the center of the text element. This value does not include the global TextOffset.
float VerticalOffset { get; }