Struct PluginTextStyle
- Namespace
- AcDream.Plugin.Abstractions
- Assembly
- AcDream.Plugin.Abstractions.dll
How a piece of text is drawn.
public readonly record struct PluginTextStyle : IEquatable<PluginTextStyle>
- Implements
- Inherited Members
Constructors
PluginTextStyle(string, float, PluginColor, bool)
How a piece of text is drawn.
public PluginTextStyle(string FontFamily, float Size, PluginColor Color, bool Bold = false)
Parameters
FontFamilystringThe name of the font family asked for.
SizefloatThe text size.
ColorPluginColorThe text colour.
BoldboolWhether the text is drawn bold.
Properties
Bold
Whether the text is drawn bold.
public bool Bold { get; init; }
Property Value
Color
The text colour.
public PluginColor Color { get; init; }
Property Value
FontFamily
The name of the font family asked for.
public string FontFamily { get; init; }
Property Value
Size
The text size.
public float Size { get; init; }