Search Results for

    Show / Hide Table of Contents

    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

    The text font.

    Declaration
    [EditorOrder(0)]
    public FontReference Font
    Field Value
    FontReference

    ShadowColor

    The text shadow color (tint and opacity). Transparent color disables 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

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat