Class
MonochromaticPalette

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:

cs-api-definition
[TypeConverter(typeof(ExpandableObjectConverter))]
public class MonochromaticPalette : IColorPalette

Inheritance: objectMonochromaticPalette

Implements: IColorPalette

Constructors

MonochromaticPalette()

Internal use only

Declaration

cs-api-definition
public MonochromaticPalette()

MonochromaticPalette(Color)

Internal use only

Declaration

cs-api-definition
public MonochromaticPalette(Color baseColor)

Parameters

baseColor

Color

Properties

BaseColor

Internal use only

Declaration

cs-api-definition
public Color BaseColor { get; set; }

Property Value

Color

MaxLightness

Gets or sets a value defining the maximal lightness of the generated colors

Declaration

cs-api-definition
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

cs-api-definition
public decimal MinLightness { get; set; }

Property Value

decimal

Value between 0M and 0.5M

Methods

Clone()

Internal use only

Declaration

cs-api-definition
public object Clone()

Returns

object

Equals(MonochromaticPalette)

Internal use only

Declaration

cs-api-definition
public bool Equals(MonochromaticPalette other)

Parameters

other

MonochromaticPalette

Returns

bool

Equals(object)

Internal use only

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Returns

bool

Overrides object.Equals(object)

GetColor(int, int)

Internal use only

Declaration

cs-api-definition
public Color GetColor(int index, int count)

Parameters

index

int

count

int

Returns

Color

Implements IColorPalette.GetColor(int, int)

GetHashCode()

Internal use only

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Overrides object.GetHashCode()

ToString()

Internal use only

Declaration

cs-api-definition
public override string ToString()

Returns

string

Overrides object.ToString()