Struct CompositionColor
Namespace: VelloSharp.Composition
Assembly: VelloSharp.Composition.dll
public readonly record struct CompositionColor : IEquatable<CompositionColor>
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
CompositionColor(float, float, float, float)
public CompositionColor(float R, float G, float B, float A = 1)
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
Clamp()
public CompositionColor Clamp()