Inherits TaleWorlds.TwoDimension.IText.
|
| | Text (int width, int height, Font bitmapFont, Func< int, Font > getUsableFontForCharacter) |
| |
| Vector2 | GetPreferredSize (bool fixedWidth, float widthSize, bool fixedHeight, float heightSize, SpriteData spriteData, float renderScale) |
| |
| void | UpdateSize (int width, int height) |
| |
| void | SetAllDirty () |
| |
| List< TextPart > | GetParts () |
| |
|
| ILanguage | CurrentLanguage [get, set] |
| |
| float | ScaleToFitTextInLayout = 1 [get] |
| | After a placement pass, if this value is != 1, it means we need to make another pass with this modifier to fit the text inside the given text area.
|
| |
| int | LineCount [get] |
| |
| int | Width [get] |
| |
| int | Height [get] |
| |
| Font | Font [get, set] |
| |
| TextHorizontalAlignment | HorizontalAlignment [get, set] |
| |
| TextVerticalAlignment | VerticalAlignment [get, set] |
| |
| float | FontSize [get, set] |
| |
| string | Value [get, set] |
| |
| bool | SkipLineOnContainerExceeded [get, set] |
| |
| bool | CanBreakWords [get, set] |
| |
| bool | ResizeTextOnOverflow [get, set] |
| |
◆ Text()
| TaleWorlds.TwoDimension.Text.Text |
( |
int | width, |
|
|
int | height, |
|
|
Font | bitmapFont, |
|
|
Func< int, Font > | getUsableFontForCharacter ) |
◆ GetPreferredSize()
| Vector2 TaleWorlds.TwoDimension.Text.GetPreferredSize |
( |
bool | fixedWidth, |
|
|
float | widthSize, |
|
|
bool | fixedHeight, |
|
|
float | heightSize, |
|
|
SpriteData | spriteData, |
|
|
float | renderScale ) |
◆ UpdateSize()
| void TaleWorlds.TwoDimension.Text.UpdateSize |
( |
int | width, |
|
|
int | height ) |
◆ SetAllDirty()
| void TaleWorlds.TwoDimension.Text.SetAllDirty |
( |
| ) |
|
◆ GetParts()
| List< TextPart > TaleWorlds.TwoDimension.Text.GetParts |
( |
| ) |
|
◆ CurrentLanguage
| ILanguage TaleWorlds.TwoDimension.Text.CurrentLanguage |
|
getset |
◆ ScaleToFitTextInLayout
| float TaleWorlds.TwoDimension.Text.ScaleToFitTextInLayout = 1 |
|
get |
◆ LineCount
| int TaleWorlds.TwoDimension.Text.LineCount |
|
get |
◆ Width
| int TaleWorlds.TwoDimension.Text.Width |
|
get |
◆ Height
| int TaleWorlds.TwoDimension.Text.Height |
|
get |
◆ Font
| Font TaleWorlds.TwoDimension.Text.Font |
|
getset |
◆ HorizontalAlignment
◆ VerticalAlignment
◆ FontSize
| float TaleWorlds.TwoDimension.Text.FontSize |
|
getset |
◆ Value
| string TaleWorlds.TwoDimension.Text.Value |
|
getset |
◆ SkipLineOnContainerExceeded
| bool TaleWorlds.TwoDimension.Text.SkipLineOnContainerExceeded |
|
getset |
◆ CanBreakWords
| bool TaleWorlds.TwoDimension.Text.CanBreakWords |
|
getset |
◆ ResizeTextOnOverflow
| bool TaleWorlds.TwoDimension.Text.ResizeTextOnOverflow |
|
getset |