Class LabColor
Represents Lab color.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.ColorSpaces
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class LabColor : ColorBase, IEquatable<ColorBase>
Constructors
LabColor(Double, Double, Double)
Initializes a new instance of the LabColor class with CIE Standard Illuminant D65: https://en.wikipedia.org/wiki/Illuminant_D65.
Declaration
public LabColor(double l, double a, double b)
Parameters
System.Double
l
The L* component. |
System.Double
a
The a* component. |
System.Double
b
The b* component. |
LabColor(Double, Double, Double, Double[])
Initializes a new instance of the LabColor class.
Declaration
public LabColor(double l, double a, double b, double[] whitePoint)
Parameters
System.Double
l
The L* component. |
System.Double
a
The a* component. |
System.Double
b
The b* component. |
System.Double[]
whitePoint
The white point component. |
LabColor(Double, Double, Double, Double[], Double[])
Initializes a new instance of the LabColor class.
Declaration
public LabColor(double l, double a, double b, double[] whitePoint, double[] range)
Parameters
System.Double
l
The L* component. |
System.Double
a
The a* component. |
System.Double
b
The b* component. |
System.Double[]
whitePoint
The white point component. |
System.Double[]
range
The range component. |
Properties
A
Gets or sets the a* component.
Declaration
public double A { get; set; }
Property Value
System.Double
The a* component. |
B
Gets or sets the b* component.
Declaration
public double B { get; set; }
Property Value
System.Double
The b* component. |
L
Gets or sets the L* component.
Declaration
public double L { get; set; }
Property Value
System.Double
The L* component. |
Range
Gets or sets the range component.
Declaration
public double[] Range { get; set; }
Property Value
System.Double[]
The range component. |
WhitePoint
Gets or sets the white point component.
Declaration
public double[] WhitePoint { get; set; }
Property Value
System.Double[]
The white point component. |
Methods
Equals(ColorBase)
Equals the specified other.
Declaration
public override bool Equals(ColorBase other)
Parameters
ColorBase
other
The other. |
Returns
System.Boolean
|