Aspose::Page::Drawing::Color::GetBrightness method

Color::GetBrightness method

Gets the hue-saturation-brightness (HSB) brightness value for this T:Aspose::Page::Drawing::Color structure.

float Aspose::Page::Drawing::Color::GetBrightness()

ReturnValue

The brightness of this T:Aspose::Page::Drawing::Color. The brightness ranges from 0.0 through 1.0, where 0.0 represents black and 1.0 represents white.

See Also