Class Formatting
Namespace: Void.Minecraft.Components.Text.Properties
Assembly: Void.Minecraft.dll
public record Formatting : IEquatable<Formatting>Inheritance
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Formatting(TextColor?, TextShadowColor?, string?, bool?, bool?, bool?, bool?, bool?)
public Formatting(TextColor? Color = null, TextShadowColor? ShadowColor = null, string? Font = null, bool? IsBold = null, bool? IsItalic = null, bool? IsUnderlined = null, bool? IsStrikethrough = null, bool? IsObfuscated = null)Parameters
Color TextColor?
ShadowColor TextShadowColor?
Font string?
IsBold bool?
IsItalic bool?
IsUnderlined bool?
IsStrikethrough bool?
IsObfuscated bool?
Properties
Color
public TextColor? Color { get; init; }Property Value
Default
public static Formatting Default { get; }Property Value
Font
public string? Font { get; init; }Property Value
IsBold
public bool? IsBold { get; init; }Property Value
bool?
IsItalic
public bool? IsItalic { get; init; }Property Value
bool?
IsObfuscated
public bool? IsObfuscated { get; init; }Property Value
bool?
IsStrikethrough
public bool? IsStrikethrough { get; init; }Property Value
bool?
IsUnderlined
public bool? IsUnderlined { get; init; }Property Value
bool?
ShadowColor
public TextShadowColor? ShadowColor { get; init; }