Packagecom.esri.ags.renderers.supportClasses
Classpublic class ColorRange
InheritanceColorRange Inheritance Object

Since : ArcGIS API for Flex 2.0

The range from one color to another to use in a TimeRampAger. Newer features will be close to the max value and older features will be closer to the minimum value.

See also

TimeRampAger


Public Properties
 PropertyDefined By
  fromColor : uint
Color for features in the beginning of the time ramp (i.e., the oldest features).
ColorRange
  toColor : uint
Color for features in the end of the time ramp (i.e., the newest features).
ColorRange
Public Methods
 MethodDefined By
  
ColorRange(fromColor:uint = 0x000000, toColor:uint = 0xFFFFFF)
Creates a new ColorRange.
ColorRange
Property Detail
fromColorproperty
public var fromColor:uint

Color for features in the beginning of the time ramp (i.e., the oldest features).

The default value is 0x000000 (black).

toColorproperty 
public var toColor:uint

Color for features in the end of the time ramp (i.e., the newest features).

The default value is 0xFFFFFF (white).

Constructor Detail
ColorRange()Constructor
public function ColorRange(fromColor:uint = 0x000000, toColor:uint = 0xFFFFFF)

Creates a new ColorRange.

Parameters
fromColor:uint (default = 0x000000) — Color for features in the beginning of the time ramp (i.e., the oldest features).
 
toColor:uint (default = 0xFFFFFF) — Color for features in the end of the time ramp (i.e., the newest features).