Class HslaColor
Class HslaColor
Le nom : Aspose.BarCode.Generation Assemblée: Aspose.BarCode.dll (25.4.0)
Classi per rappresentare il colore HSLA (Hue, Saturazione, Lightness, Alpha)
public class HslaColor
Inheritance
I membri ereditari
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
HslaColor(int, int, int, float)
Costruttore per HslaColor
public HslaColor(int h, int s, int l, float a)
Parameters
h
int
Méditerranée [0, 360]
s
int
La saturation [0, 100]
l
int
La lumière [0, 100]
a
float
Alpha (opacité) [0.0f, 1.0f]
Fields
A
Alpha (opacité) [0.0f, 1.0f]
public float A
Valore di campo
H
Méditerranée [0, 360]
public readonly int H
Valore di campo
L
La lumière [0, 100]
public readonly int L
Valore di campo
S
La saturation [0, 100]
public readonly int S
Valore di campo
Methods
ConvertHslaToRgba(HslaColor)
Utilizza https://en.wikipedia.org/wiki/HSL_and_HSV#HSL_to_RGB
public static Color ConvertHslaToRgba(HslaColor hslaColor)
Parameters
hslaColor
HslaColor
Il colore HSLA per convertire
Returns
Color
Il colore con i valori RGBA