Interface ICaretPosition
- Namespace
- Lime
- Assembly
- Lime.dll
public interface ICaretPosition
Properties
Col
Property Value
- int
IsValid
Property Value
- bool
IsVisible
bool IsVisible { get; set; }
Property Value
- bool
Line
Property Value
- int
TextPos
int TextPos { get; set; }
Property Value
- int
WorldPos
Vector2 WorldPos { get; set; }
Property Value
- Vector2
Methods
AssignFrom(ICaretPosition)
void AssignFrom(ICaretPosition c)
Parameters
c
ICaretPosition
ClampCol(int)
void ClampCol(int maxCol)
Parameters
maxCol
int
ClampLine(int)
void ClampLine(int lineCount)
Parameters
lineCount
int
ClampTextPos(int)
void ClampTextPos(int textLength)
Parameters
textLength
int
Clone()
Returns
- ICaretPosition
EmptyText(Vector2)
void EmptyText(Vector2 pos)
Parameters
pos
Vector2
FinishSync()
InvalidatePreservingTextPos()
void InvalidatePreservingTextPos()
NextLine()
StartSync()
Sync(int, Vector2, Vector2)
void Sync(int index, Vector2 charPos, Vector2 size)
Parameters
index
int
charPos
Vector2
size
Vector2