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()
Internal use only
Declaration
public MonochromaticPalette()
MonochromaticPalette(Color)
Internal use only
Declaration
public MonochromaticPalette(Color baseColor)
Parameters
|
System.Drawing.Color
baseColor
|
Properties
BaseColor
Internal use only
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()
Internal use only
Declaration
public object Clone()
Returns
|
System.Object
|
Equals(Object)
Internal use only
Declaration
public override bool Equals(object obj)
Parameters
|
System.Object
obj
|
Returns
|
System.Boolean
|
Overrides
Equals(MonochromaticPalette)
Internal use only
Declaration
public bool Equals(MonochromaticPalette other)
Parameters
|
MonochromaticPalette
other
|
Returns
|
System.Boolean
|
GetColor(Int32, Int32)
Internal use only
Declaration
public Color GetColor(int index, int count)
Parameters
|
System.Int32
index
|
|
System.Int32
count
|
Returns
|
System.Drawing.Color
|
Implements
GetHashCode()
Internal use only
Declaration
public override int GetHashCode()
Returns
|
System.Int32
|
Overrides
ToString()
Internal use only
Declaration
public override string ToString()
Returns
|
System.String
|