ColorGetBrightness Method |
Gets the hue-saturation-brightness (HSB) brightness value for this
Color structure.
Namespace: GroupDocs.Watermark.WatermarksAssembly: GroupDocs.Watermark (in GroupDocs.Watermark.dll) Version: 21.3.0
Syntaxpublic float GetBrightness()
Public Function GetBrightness As Single
public:
float GetBrightness()
member GetBrightness : unit -> float32
Return Value
Type:
Single
The brightness of this
Color. The brightness ranges from 0.0 through 1.0,
where 0.0 represents black and 1.0 represents white.
See Also