Aspose.Barcode for Python via Java Generation and Recognition API docs
|
Class for representing HSLA color (Hue, Saturation, Lightness, Alpha) More...
Public Member Functions | |
None | __init__ (self, int h, int s, int l, float a) |
Constructor for HslaColor. More... | |
Static Public Member Functions | |
None | checkAlpha (float value) |
None | checkHue (int value) |
None | checkSatLight (int value) |
Tuple[int, int, int, int] | convertHslaToRgba (HslaColor hslaColor) |
float | hueToRgb (float p, float q, float t) |
Class for representing HSLA color (Hue, Saturation, Lightness, Alpha)
None __init__ | ( | self, | |
int | h, | ||
int | s, | ||
int | l, | ||
float | a | ||
) |
Constructor for HslaColor.
h | Hue [0, 360] |
s | Saturation [0, 100] |
l | Lightness [0, 100] |
a | Alpha (opacity) [0.0f, 1.0f] |
|
static |
|
static |
|
static |
|
static |
|
static |