Class
HlsaColorViewModel

Represents a ViewModel of the HLS (Hue, Luminance, Saturation) representation of a color.

Definition

Constructors

HlsaColorViewModel()

Declaration

cs-api-definition
public HlsaColorViewModel()

Properties

Hue

Gets or sets the Hue channel of the HLS color view model.

Declaration

cs-api-definition
public double Hue { get; set; }

Property Value

double

Luminance

Gets or sets the Luminance channel of the HLS color view model.

Declaration

cs-api-definition
public double Luminance { get; set; }

Property Value

double

Saturation

Gets or sets the Saturation channel of the HLS color view model.

Declaration

cs-api-definition
public double Saturation { get; set; }

Property Value

double

Methods

UpdateFromUnifiedColor(UnifiedColor)

Updates the color of from a unified color.

Declaration

cs-api-definition
public override void UpdateFromUnifiedColor(UnifiedColor colorScheme)

Parameters

colorScheme

UnifiedColor

Overrides ColorViewModel.UpdateFromUnifiedColor(UnifiedColor)