ClassGradientColorizer
A class that is used to colorize the items and groups of RadTreeMapElement by given start and end palettes with colors.
Definition
Namespace:Telerik.WinControls.UI.TreeMap
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class GradientColorizer : BaseColorizer
Inheritance: objectBaseColorizerGradientColorizer
Inherited Members
Constructors
GradientColorizer()
Creates a new instance of the GradientColorizer class.
Declaration
public GradientColorizer()
Properties
EndColor
Gets or sets the end color. Defines the end color when there are no groups in RadTreeMapElement.
EndPalette
Gets or sets the end palette. Defines the end colors for each group of RadTreeMapElement.
Declaration
public TreeMapPalette EndPalette { get; set; }
Property Value
StartColor
Gets or sets the start color. Defines the start color when there are no groups in RadTreeMapElement.
StartPalette
Gets or sets the start palette. Defines the start colors for each group of RadTreeMapElement.
Declaration
public TreeMapPalette StartPalette { get; set; }
Property Value
Methods
ColorizeGroups(IEnumerable<TreeMapDataItemGroup>)
Colorizes the groups.
Declaration
public override void ColorizeGroups(IEnumerable<TreeMapDataItemGroup> groups)
Parameters
groups
IEnumerable<TreeMapDataItemGroup>
The groups.
Overrides
ColorizeItems(IEnumerable<TreeMapDataItem>)
Colorizes the items.
Declaration
public override void ColorizeItems(IEnumerable<TreeMapDataItem> items)
Parameters
items
IEnumerable<TreeMapDataItem>
The items.
Overrides
ColorizeItems(IEnumerable<TreeMapDataItem>, Color, Color)
Colorizes the items by given start and end colors.
Declaration
protected virtual void ColorizeItems(IEnumerable<TreeMapDataItem> items, Color start, Color end)
Parameters
items
IEnumerable<TreeMapDataItem>
The data items.
start
The start color.
end
The end color.
MixColor(double, Color, Color)
Mixes a color.