Interface IText
- Namespace
- Lime
- Assembly
- Lime.dll
public interface IText
Properties
Caret
ICaretPosition Caret { get; set; }
Property Value
DisplayText
string DisplayText { get; }
Property Value
HAlignment
HAlignment HAlignment { get; set; }
Property Value
Localizable
bool Localizable { get; set; }
Property Value
OverflowMode
TextOverflowMode OverflowMode { get; set; }
Property Value
Text
string Text { get; set; }
Property Value
TrimWhitespaces
bool TrimWhitespaces { get; set; }
Property Value
VAlignment
VAlignment VAlignment { get; set; }
Property Value
WordSplitAllowed
bool WordSplitAllowed { get; set; }
Property Value
Methods
CanDisplay(char)
bool CanDisplay(char ch)
Parameters
ch
char
Returns
GetCharPair(Vector2, out (CharPosition, CharPosition))
bool GetCharPair(Vector2 point, out (CharPosition, CharPosition) pair)
Parameters
point
Vector2pair
(CharPosition, CharPosition)
Returns
Invalidate()
void Invalidate()
MeasureText()
Returns the text's bounding box.
Rectangle MeasureText()
Returns
SetLocalizeArguments(params string[])
Arguments that will be passed into Text.Localize(...)
void SetLocalizeArguments(params string[] args)
Parameters
args
string[]
Submit()
void Submit()
SyncCaretPosition()
void SyncCaretPosition()
Events
Submitted
event Action<string> Submitted
Event Type
TextProcessor
event TextProcessorDelegate TextProcessor