Class TextBlockStyle
The styling descriptor for the text block.
Inheritance
System.Object
TextBlockStyle
Namespace: FlaxEngine.GUI
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class TextBlockStyle : ValueType
Fields
Alignment
The text block alignment.
Declaration
[EditorOrder(100)]
public TextBlockStyle.Alignments Alignment
Field Value
TextBlockStyle.Alignments
|
BackgroundBrush
The background brush for the text range.
Declaration
[EditorOrder(45)]
public IBrush BackgroundBrush
Field Value
IBrush
|
BackgroundSelectedBrush
The background brush for the selected text range.
Declaration
[EditorOrder(50)]
public IBrush BackgroundSelectedBrush
Field Value
IBrush
|
Color
The text color (tint and opacity).
Declaration
[EditorOrder(20)]
public Color Color
Field Value
Color
|
CustomMaterial
The custom material for the text rendering (must be GUI domain).
Declaration
[EditorOrder(10)]
public MaterialBase CustomMaterial
Field Value
MaterialBase
|
Font
ShadowColor
The text shadow color (tint and opacity). Set to transparent to disable shadow drawing.
Declaration
[EditorOrder(30)]
public Color ShadowColor
Field Value
Color
|
ShadowOffset
The text shadow offset from the text location. Set to zero to disable shadow drawing.
Declaration
[EditorOrder(40)]
public Float2 ShadowOffset
Field Value
Float2
|
UnderlineBrush
The underline line brush.
Declaration
[EditorOrder(60)]
public IBrush UnderlineBrush
Field Value
IBrush
|