Class MonochromaticPalette
A color palette that provides colors generated using a variable lightness between defined minimum and maximum values.
Inheritance
Namespace: Telerik.Reporting.Drawing
Assembly: Telerik.Reporting.dll
Syntax
public class MonochromaticPalette : IColorPalette, ICloneable, IEquatable<MonochromaticPalette>
Constructors
MonochromaticPalette()
Declaration
public MonochromaticPalette()
MonochromaticPalette(Color)
Declaration
public MonochromaticPalette(Color baseColor)
Parameters
System.Drawing.Color
baseColor
|
Properties
BaseColor
Declaration
public Color BaseColor { get; set; }
Property Value
System.Drawing.Color
|
MaxLightness
Gets or sets a value defining the maximal lightness of the generated colors
Declaration
public decimal MaxLightness { get; set; }
Property Value
System.Decimal
Value between 0.5M and 1M |
MinLightness
Gets or sets a value defining the minimal lightness of the generated colors
Declaration
public decimal MinLightness { get; set; }
Property Value
System.Decimal
Value between 0M and 0.5M |
Methods
Clone()
Declaration
public object Clone()
Returns
System.Object
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
Equals(MonochromaticPalette)
Declaration
public bool Equals(MonochromaticPalette other)
Parameters
MonochromaticPalette
other
|
Returns
System.Boolean
|
GetColor(Int32, Int32)
Declaration
public Color GetColor(int index, int count)
Parameters
System.Int32
index
|
System.Int32
count
|
Returns
System.Drawing.Color
|
Implements
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
ToString()
Declaration
public override string ToString()
Returns
System.String
|