Table of Contents

Method GetSaturation

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

GetSaturation()

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

public double GetSaturation()

Returns

double

The saturation of this color. The saturation ranges from 0 through 1, where 0 is grayscale and 1 is the most saturated.