Table of Contents

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

FontFamily string

The name of the font family asked for.

Size float

The text size.

Color PluginColor

The text colour.

Bold bool

Whether the text is drawn bold.

Properties

Bold

Whether the text is drawn bold.

public bool Bold { get; init; }

Property Value

bool

Color

The text colour.

public PluginColor Color { get; init; }

Property Value

PluginColor

FontFamily

The name of the font family asked for.

public string FontFamily { get; init; }

Property Value

string

Size

The text size.

public float Size { get; init; }

Property Value

float