Interface ILabelElement
- Namespace
- RichHudFramework.UI
- Assembly
- RichHudClient.dll
Interface for UI elements rendering formatted RichText
public interface ILabelElement : IMinLabelElement
- Inherited Members
Properties
AutoResize
If true, the size of this UI element will automatically adjust to match the size of the text. True by default.
bool AutoResize { get; set; }
Property Value
BuilderMode
Gets or sets the text composition mode, which controls how text is arranged (e.g., single line, wrapped, etc.).
TextBuilderModes BuilderMode { get; set; }
Property Value
Format
Gets or sets the default glyph formatting (font, style, size, color) applied to text that does not have specific formatting defined.
GlyphFormat Format { get; set; }
Property Value
Text
Gets or sets the rich text content displayed by the label.
RichText Text { get; set; }
Property Value
VertCenterText
If true, the text will be vertically centered within the bounds of the element. True by default.
bool VertCenterText { get; set; }