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) |
|
◆ 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 ) |
◆ CurrentLanguage
ILanguage TaleWorlds.TwoDimension.Text.CurrentLanguage |
|
getset |
◆ ScaleToFitTextInLayout
float TaleWorlds.TwoDimension.Text.ScaleToFitTextInLayout = 1 |
|
get |
◆ LineCount
int TaleWorlds.TwoDimension.Text.LineCount |
|
get |
◆ DrawObject2D
◆ 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 |