Struct RgbaColor
Namespace: VelloSharp
Assembly: VelloSharp.Core.dll
public readonly record struct RgbaColor : IEquatable<RgbaColor>
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
RgbaColor(float, float, float, float)
public RgbaColor(float R, float G, float B, float A)
Parameters
R
float
G
float
B
float
A
float
Properties
A
public float A { get; init; }
Property Value
B
public float B { get; init; }
Property Value
G
public float G { get; init; }
Property Value
R
public float R { get; init; }
Property Value
Methods
FromBytes(byte, byte, byte, byte)
public static RgbaColor FromBytes(byte r, byte g, byte b, byte a = 255)
Parameters
r
byte
g
byte
b
byte
a
byte