IdenticonElementGrayscaleLightness Property

The lightness range of the grayscale shapes in the icon. Default value is 0.3f - 0.9f.
[TypeConverterAttribute(typeof(FloatRangeConverter))]
public Range<float> GrayscaleLightness { get; set; }
View source
Namespace
Jdenticon.Wpf
Package
PackageJdenticon.Wpf (since v3.0.0)

Property Value

RangeSingle

Exceptions

ExceptionCondition
ArgumentOutOfRangeException One or both range bounds were less than 0.0f or greater than 1.0f.

Remarks

The lightness of the shapes can be inverted by specifying a range where From is greater than To. The normally darker shapes will then be lighter than the normally lighter ones.

See Also

Reference