Table of Contents

Method GetBrightness

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

GetBrightness()

Gets the hue-saturation-brightness (HSB) brightness value for this color.

public double GetBrightness()

Returns

double

The brightness of this color. The brightness ranges from 0 through 1, where 0 represents black and 1 represents white.