HsvColor(Double, Double, Double, Double) Constructor
Initializes a new instance of the HsvColor struct.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public HsvColor(
double alpha,
double hue,
double saturation,
double value
)
Public Sub New (
alpha As Double,
hue As Double,
saturation As Double,
value As Double
)
new :
alpha : float *
hue : float *
saturation : float *
value : float -> HsvColor
Parameters
- Double
- The Alpha (transparency) component in the range from 0..1.
- Double
- The Hue component in the range from 0..360. Note that 360 is equivalent to 0 and will be adjusted automatically.
- Double
- The Saturation component in the range from 0..1.
- Double
- The Value component in the range from 0..1.
See Also
Reference
HsvColor Structure
HsvColor Overload
Avalonia.Media Namespace