// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved. namespace FlaxEngine.GUI { /// /// The styling descriptor for the text block. /// public struct TextBlockStyle { /// /// The text font. /// [EditorOrder(0), Tooltip("The text font.")] public FontReference Font; /// /// The custom material for the text rendering (must be GUI domain). /// [EditorOrder(10), Tooltip("The custom material for the text rendering (must be GUI domain).")] public MaterialBase CustomMaterial; /// /// The text color (tint and opacity). /// [EditorOrder(20), Tooltip("The text color (tint and opacity).")] public Color Color; /// /// The text shadow color (tint and opacity). Set to transparent to disable shadow drawing. /// [EditorOrder(30), Tooltip("The text shadow color (tint and opacity). Set to transparent to disable shadow drawing.")] public Color ShadowColor; /// /// The text shadow offset from the text location. Set to zero to disable shadow drawing. /// [EditorOrder(40), Tooltip("The text shadow offset from the text location. Set to zero to disable shadow drawing.")] public Vector2 ShadowOffset; /// /// The background brush for the selected text range. /// [EditorOrder(50), Tooltip("The background brush for the selected text range.")] public IBrush BackgroundSelectedBrush; /// /// The underline line brush. /// [EditorOrder(60), Tooltip("The underline line brush.")] public IBrush UnderlineBrush; } }