Struct RgbaColor
Namespace: VelloSharp
Assembly: VelloSharp.Core.dll
public readonly struct RgbaColor
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; }
Property Value
B
public float B { get; }
Property Value
G
public float G { get; }
Property Value
R
public float R { get; }
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