Table of Contents

Interface IText

Namespace
Lime
Assembly
Lime.dll
public interface IText

Properties

Caret

ICaretPosition Caret { get; set; }

Property Value

ICaretPosition

DisplayText

string DisplayText { get; }

Property Value

string

HAlignment

HAlignment HAlignment { get; set; }

Property Value

HAlignment

Localizable

bool Localizable { get; set; }

Property Value

bool

OverflowMode

TextOverflowMode OverflowMode { get; set; }

Property Value

TextOverflowMode

Text

string Text { get; set; }

Property Value

string

TrimWhitespaces

bool TrimWhitespaces { get; set; }

Property Value

bool

VAlignment

VAlignment VAlignment { get; set; }

Property Value

VAlignment

WordSplitAllowed

bool WordSplitAllowed { get; set; }

Property Value

bool

Methods

CanDisplay(char)

bool CanDisplay(char ch)

Parameters

ch char

Returns

bool

GetCharPair(Vector2, out (CharPosition, CharPosition))

bool GetCharPair(Vector2 point, out (CharPosition, CharPosition) pair)

Parameters

point Vector2
pair (CharPosition, CharPosition)

Returns

bool

Invalidate()

void Invalidate()

MeasureText()

Returns the text's bounding box.

Rectangle MeasureText()

Returns

Rectangle

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

Action<string>

TextProcessor

event TextProcessorDelegate TextProcessor

Event Type

TextProcessorDelegate