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) |
|
Vector2 | GetPreferredSize (bool fixedWidth, float widthSize, bool fixedHeight, float heightSize, SpriteData spriteData, float renderScale) |
|
|
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.
|
|
DrawObject2D | DrawObject2D [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] |
|
string | Value [get, set] |
|
TextHorizontalAlignment | HorizontalAlignment [get, set] |
|
TextVerticalAlignment | VerticalAlignment [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 |
|
) |
| |
◆ CurrentLanguage
ILanguage TaleWorlds.TwoDimension.Text.CurrentLanguage |
|
getset |
◆ ScaleToFitTextInLayout
float TaleWorlds.TwoDimension.Text.ScaleToFitTextInLayout = 1 |
|
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 |