ClassMonochromaticPalette
A color palette that provides colors generated using a variable lightness between defined minimum and maximum values.
Definition
Namespace:Telerik.Reporting.Drawing
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class MonochromaticPalette : IColorPalette
Inheritance: objectMonochromaticPalette
Implements:
Constructors
MonochromaticPalette(Color)
Internal use only
Declaration
public MonochromaticPalette(Color baseColor)
Parameters
baseColor
Color
Properties
BaseColor
Internal use only
Declaration
public Color BaseColor { get; set; }
Property Value
Color
MaxLightness
Gets or sets a value defining the maximal lightness of the generated colors
Declaration
public decimal MaxLightness { get; set; }
Property Value
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
decimal
Value between 0M and 0.5M
Methods
Equals(MonochromaticPalette)
Internal use only
Declaration
public bool Equals(MonochromaticPalette other)
Parameters
other
Returns
bool
Equals(object)
Internal use only
Declaration
public override bool Equals(object obj)
Parameters
obj
object
Returns
bool
Overrides
GetColor(int, int)
Internal use only
Declaration
public Color GetColor(int index, int count)
Parameters
index
int
count
int
Returns
Color
Implements
GetHashCode()
Internal use only
Declaration
public override int GetHashCode()
Returns
int
Overrides
ToString()
Internal use only
Declaration
public override string ToString()
Returns
string
Overrides