Interface IText
A Drawable screen text.
Namespace: LemonUI.Elements
Assembly: LemonUI.SHVDN3.dll
Syntax
public interface IText : IRecalculable, IDrawable
Properties
View SourceAlignment
The alignment of the text.
Declaration
Alignment Alignment { get; set; }
Property Value
Type | Description |
---|---|
Alignment |
Color
The color of the text.
Declaration
Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
Font
The game font to use.
Declaration
Font Font { get; set; }
Property Value
Type | Description |
---|---|
Font |
LineCount
The number of lines used by this text.
Declaration
int LineCount { get; }
Property Value
Type | Description |
---|---|
int |
LineHeight
The height of each line of text.
Declaration
float LineHeight { get; }
Property Value
Type | Description |
---|---|
float |
Outline
If the text should have an outline.
Declaration
bool Outline { get; set; }
Property Value
Type | Description |
---|---|
bool |
Position
The position of the text.
Declaration
PointF Position { get; set; }
Property Value
Type | Description |
---|---|
PointF |
Scale
The scale of the text.
Declaration
float Scale { get; set; }
Property Value
Type | Description |
---|---|
float |
Shadow
If the text should have a drop down shadow.
Declaration
bool Shadow { get; set; }
Property Value
Type | Description |
---|---|
bool |
Text
The text to draw.
Declaration
string Text { get; set; }
Property Value
Type | Description |
---|---|
string |
Width
The width that the text takes from the screen.
Declaration
float Width { get; }
Property Value
Type | Description |
---|---|
float |
WordWrap
The maximum distance from X where the text would wrap into a new line.
Declaration
float WordWrap { get; set; }
Property Value
Type | Description |
---|---|
float |