Class TextShadowColor
Namespace: Void.Minecraft.Components.Text.Colors
Assembly: Void.Minecraft.dll
public record TextShadowColor : IEquatable<TextShadowColor>Inheritance
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
TextShadowColor(byte, byte, byte, byte)
public TextShadowColor(byte Alpha, byte Red, byte Green, byte Blue)Parameters
Alpha byte
Red byte
Green byte
Blue byte
Properties
Alpha
public byte Alpha { get; init; }Property Value
Blue
public byte Blue { get; init; }Property Value
Green
public byte Green { get; init; }Property Value
Name
public string Name { get; }Property Value
Red
public byte Red { get; init; }Property Value
Methods
FromString(string)
public static TextShadowColor FromString(string value)Parameters
value string
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()Returns
A string that represents the current object.
Operators
implicit operator TextShadowColor((byte Alpha, byte Red, byte Green, byte Blue))
public static implicit operator TextShadowColor((byte Alpha, byte Red, byte Green, byte Blue) color)Parameters
color (byte Alpha, byte Red, byte Green, byte Blue)
Returns
implicit operator TextShadowColor(Color)
public static implicit operator TextShadowColor(Color color)Parameters
color Color
Returns
implicit operator TextShadowColor(string)
public static implicit operator TextShadowColor(string color)Parameters
color string
Returns
implicit operator Color(TextShadowColor)
public static implicit operator Color(TextShadowColor color)Parameters
color TextShadowColor
Returns
implicit operator string(TextShadowColor)
public static implicit operator string(TextShadowColor color)Parameters
color TextShadowColor
Returns
implicit operator int(TextShadowColor)
public static implicit operator int(TextShadowColor color)Parameters
color TextShadowColor
Returns
implicit operator TextShadowColor(int)
public static implicit operator TextShadowColor(int value)Parameters
value int
Returns
implicit operator float[](TextShadowColor)
public static implicit operator float[](TextShadowColor color)Parameters
color TextShadowColor
Returns
float[]
implicit operator TextShadowColor(float[])
public static implicit operator TextShadowColor(float[] components)Parameters
components float[]