Class
RgbaColorViewModel

Represents a ViewModel of the RGB (Red, Green, Blue) representation of a color.

Definition

Constructors

RgbaColorViewModel()

Declaration

cs-api-definition
public RgbaColorViewModel()

Properties

Blue

Gets or sets the Blue channel of the RGB color view model.

Declaration

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

Property Value

double

Green

Gets or sets the Green channel of the RGB color view model.

Declaration

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

Property Value

double

Red

Gets or sets the Red channel of the RGB color view model.

Declaration

cs-api-definition
public double Red { 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)