An emphasis setting specifies a text style.
More...
|
Color | color = Color.black |
| The color of the text.
|
|
bool | bold = false |
| If true , draw the text in bold.
|
|
bool | italic = false |
| If true , draw the text in italics.
|
|
bool | underline = false |
| If true , underline the text.
|
|
An emphasis setting specifies a text style.
Chat Mapper projects define emphasis settings for formatting lines of dialogue. Every dialogue database stores an array of emphasis settings.
◆ EmphasisSetting() [1/2]
PixelCrushers.DialogueSystem.EmphasisSetting.EmphasisSetting |
( |
Color |
color, |
|
|
bool |
bold, |
|
|
bool |
italic, |
|
|
bool |
underline |
|
) |
| |
|
inline |
Initializes a new EmphasisSetting.
- Parameters
-
color | Text color. |
bold | Bold flag. |
italic | Italic flag. |
underline | Underline flag. |
◆ EmphasisSetting() [2/2]
PixelCrushers.DialogueSystem.EmphasisSetting.EmphasisSetting |
( |
string |
colorCode, |
|
|
string |
styleCode |
|
) |
| |
|
inline |
Initializes a new EmphasisSetting.
- Parameters
-
colorCode | A web RGB-format color code of the format "\#rrggbb", where rr, gg, and bb are hexadecimal values (e.g., #ff0000 for red). |
styleCode | A style code of the format "biu", where b=bold, i=italic, u=underline, and a dash turns the setting off. For example, "b--" means bold only. |
◆ bold
bool PixelCrushers.DialogueSystem.EmphasisSetting.bold = false |
If true
, draw the text in bold.
◆ color
Color PixelCrushers.DialogueSystem.EmphasisSetting.color = Color.black |
◆ italic
bool PixelCrushers.DialogueSystem.EmphasisSetting.italic = false |
If true
, draw the text in italics.
◆ underline
bool PixelCrushers.DialogueSystem.EmphasisSetting.underline = false |
If true
, underline the text.
◆ IsEmpty
bool PixelCrushers.DialogueSystem.EmphasisSetting.IsEmpty |
|
get |
The documentation for this class was generated from the following file:
- C:/Dev/Dialogue System/Dev/Release2/Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Model/Data/EmphasisSetting.cs