Interface LemonUI::Elements::IText
ClassList > LemonUI > Elements > IText
A Drawable screen text.
Inherits the following classes: LemonUI::IRecalculable, LemonUI::IDrawable
Inherited by the following classes: LemonUI::Elements::ScaledText
Public Properties
| Type | Name |
|---|---|
| property Alignment | Alignment The alignment of the text. |
| property Color | Color The color of the text. |
| property Font | Font The game font to use. |
| property int | LineCount The number of lines used by this text. |
| property float | LineHeight The height of each line of text. |
| property bool | Outline If the text should have an outline. |
| property PointF | Position The position of the text. |
| property float | Scale The scale of the text. |
| property bool | Shadow If the text should have a drop down shadow. |
| property string | Text The text to draw. |
| property float | Width The width that the text takes from the screen. |
| property float | WordWrap The maximum distance from X where the text would wrap into a new line. |
Public Functions inherited from LemonUI::IRecalculable
| Type | Name |
|---|---|
| void | Recalculate () Recalculates the values. |
Public Functions inherited from LemonUI::IDrawable
| Type | Name |
|---|---|
| void | Draw () Draws the item on the screen. |
Public Properties Documentation
property Alignment
Alignment LemonUI.Elements.IText.Alignment;
property Color
Color LemonUI.Elements.IText.Color;
property Font
Font LemonUI.Elements.IText.Font;
property LineCount
int LemonUI.Elements.IText.LineCount;
property LineHeight
float LemonUI.Elements.IText.LineHeight;
property Outline
bool LemonUI.Elements.IText.Outline;
property Position
PointF LemonUI.Elements.IText.Position;
property Scale
float LemonUI.Elements.IText.Scale;
property Shadow
bool LemonUI.Elements.IText.Shadow;
property Text
string LemonUI.Elements.IText.Text;
property Width
float LemonUI.Elements.IText.Width;
property WordWrap
float LemonUI.Elements.IText.WordWrap;
The documentation for this class was generated from the following file repos/LemonUI/LemonUI/Elements/IText.cs