EasyTalk API
Loading...
Searching...
No Matches
EasyTalk.Display.Style.TextStyleSettings Class Reference

This class defines styling for text elements. More...

Public Attributes

bool enabled = true
 Whether the text is enabled.
 
Font font
 The font to use.
 
Color color
 The color to use for the text.
 
float fontSize = 24.0f
 The font size to use.
 
bool autoSizeFont = true
 Whether the font should be automatically resized for the best fit of the text.
 
float minFontSize = 8.0f
 The minimum font size to use when in auto-size mode.
 
float maxFontSize = 72.0f
 The maximum font size to use when in auto-size mode.
 

Properties

Font StandardFont [get, set]
 Gets or sets the standard Font.
 

Detailed Description

This class defines styling for text elements.

Member Data Documentation

◆ autoSizeFont

bool EasyTalk.Display.Style.TextStyleSettings.autoSizeFont = true

Whether the font should be automatically resized for the best fit of the text.

◆ color

Color EasyTalk.Display.Style.TextStyleSettings.color

The color to use for the text.

◆ enabled

bool EasyTalk.Display.Style.TextStyleSettings.enabled = true

Whether the text is enabled.

◆ font

Font EasyTalk.Display.Style.TextStyleSettings.font

The font to use.

◆ fontSize

float EasyTalk.Display.Style.TextStyleSettings.fontSize = 24.0f

The font size to use.

◆ maxFontSize

float EasyTalk.Display.Style.TextStyleSettings.maxFontSize = 72.0f

The maximum font size to use when in auto-size mode.

◆ minFontSize

float EasyTalk.Display.Style.TextStyleSettings.minFontSize = 8.0f

The minimum font size to use when in auto-size mode.

Property Documentation

◆ StandardFont

Font EasyTalk.Display.Style.TextStyleSettings.StandardFont
getset

Gets or sets the standard Font.