Inherits TaleWorlds.TwoDimension.IText.
Inherited by TaleWorlds.TwoDimension.EditableText.
|
| | RichText (int width, int height, Font font, Func< int, Font > getUsableFontForCharacter) |
| |
| virtual void | Update (SpriteData spriteData, Vector2 focusPosition, bool focus, bool isFixedWidth, bool isFixedHeight, float renderScale) |
| |
| void | SetAllDirty () |
| |
| Vector2 | GetPreferredSize (bool fixedWidth, float widthSize, bool fixedHeight, float heightSize, SpriteData spriteData, float renderScale) |
| |
| void | CalculateTextOutput (bool fixedWidth, bool fixedHeight, float width, float height, SpriteData spriteData, float renderScale) |
| |
| void | UpdateSize (int width, int height) |
| |
| List< RichTextPart > | GetParts () |
| |
| Vector2 | GetPreferredSize (bool fixedWidth, float widthSize, bool fixedHeight, float heightSize, SpriteData spriteData, float renderScale) |
| |
◆ RichText()
| TaleWorlds.TwoDimension.RichText.RichText |
( |
int |
width, |
|
|
int |
height, |
|
|
Font |
font, |
|
|
Func< int, Font > |
getUsableFontForCharacter |
|
) |
| |
◆ Update()
| virtual void TaleWorlds.TwoDimension.RichText.Update |
( |
SpriteData |
spriteData, |
|
|
Vector2 |
focusPosition, |
|
|
bool |
focus, |
|
|
bool |
isFixedWidth, |
|
|
bool |
isFixedHeight, |
|
|
float |
renderScale |
|
) |
| |
|
virtual |
◆ SetAllDirty()
| void TaleWorlds.TwoDimension.RichText.SetAllDirty |
( |
| ) |
|
◆ GetPreferredSize()
| Vector2 TaleWorlds.TwoDimension.RichText.GetPreferredSize |
( |
bool |
fixedWidth, |
|
|
float |
widthSize, |
|
|
bool |
fixedHeight, |
|
|
float |
heightSize, |
|
|
SpriteData |
spriteData, |
|
|
float |
renderScale |
|
) |
| |
◆ CalculateTextOutput()
| void TaleWorlds.TwoDimension.RichText.CalculateTextOutput |
( |
bool |
fixedWidth, |
|
|
bool |
fixedHeight, |
|
|
float |
width, |
|
|
float |
height, |
|
|
SpriteData |
spriteData, |
|
|
float |
renderScale |
|
) |
| |
◆ UpdateSize()
| void TaleWorlds.TwoDimension.RichText.UpdateSize |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
◆ GetParts()
| List< RichTextPart > TaleWorlds.TwoDimension.RichText.GetParts |
( |
| ) |
|
◆ CurrentLanguage
| ILanguage TaleWorlds.TwoDimension.RichText.CurrentLanguage |
◆ CurrentStyle
| string TaleWorlds.TwoDimension.RichText.CurrentStyle = "Default" |
|
getset |
◆ TextHeight
| int TaleWorlds.TwoDimension.RichText.TextHeight |
|
get |
◆ StyleFontContainer
◆ HorizontalAlignment
◆ VerticalAlignment
◆ Value
| string TaleWorlds.TwoDimension.RichText.Value |
|
getset |
◆ FocusedLinkGroup
◆ SkipLineOnContainerExceeded
| bool TaleWorlds.TwoDimension.RichText.SkipLineOnContainerExceeded |
|
getset |