IsRoundingEnabled Property
Gets or sets a value indicating whether rounding of color component values is enabled.
Definition
Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls.ColorPicker (in Avalonia.Controls.ColorPicker.dll)
- C#
- VB
- F#
public bool IsRoundingEnabled { get; set; }
Public Property IsRoundingEnabled As Boolean
Get
Set
member IsRoundingEnabled : bool with get, set
Property Value
BooleanRemarks
This is applicable for the HSV color model only. The HsvColor struct uses double values while the Color struct uses byte. Only double types need rounding.