Skip to main content

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)

public HsvColor(
double alpha,
double hue,
double saturation,
double value
)

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