get_brightness method
get_brightness
Gets the hue-saturation-brightness (HSB) brightness value for this Color
structure.
Returns
The brightness of this Color
. The brightness ranges from 0.0 through 1.0,
where 0.0 represents black and 1.0 represents white.
def get_brightness(self):
...
See Also
- module
groupdocs.watermark.watermarks
- class
Color