Packagecom.degrafa.paint.palette
Classpublic dynamic class InterpolatedColorPalette
InheritanceInterpolatedColorPalette Inheritance AutoPalette Inheritance Palette Inheritance mx.utils.ObjectProxy

A color palette that auto generates and will interpolate between the colorFrom and colorTo values.



Public Properties
 PropertyDefined by
  colorFrom : Object
The starting color to interpolate.
InterpolatedColorPalette
  colors : Array
The ending color to interpolate.
InterpolatedColorPalette
  colorTo : Object
The ending color to interpolate.
InterpolatedColorPalette
 Inheriteddocument : Object
The MXML document that created this object.
Palette
 Inheritedentries : Array
An array of PaletteEntry objects.
Palette
 InheritedentryPrefix : String
The prefix to use for item names so that they can be properly refferenced.
AutoPalette
 Inheritedid : String
The identifier used by document to refer to this object.
Palette
 InheritedisInitialized : Boolean
Palette
 Inheritedname : String
The name that refers to this object.
Palette
 Inheritedpalette : Palette
Palette
 InheritedpaletteEntries : Dictionary
An dictionary of palette entries.
Palette
 InheritedrequestedSize : int
The number of entries to be generated.
AutoPalette
Protected Properties
 PropertyDefined by
 InheritedcurrentLength : int = 0
AutoPalette
Public Methods
 MethodDefined by
  
InterpolatedColorPalette
 Inherited
clear():void
Removes all palette entries.
Palette
 Inherited
getItemByIndex(value:int):*
Returns a palette entry item by index.
Palette
 Inherited
getItemByName(value:String):*
Returns a palette entry item by name.
Palette
 Inherited
getValueByIndex(value:int):*
Returns a palette entry value by index.
Palette
 Inherited
getValueByName(value:String):*
Returns a palette entry value by name.
Palette
 Inherited
initialized(document:Object, id:String):void
Called after the implementing object has been created and all component properties specified on the MXML tag have been initialized.
Palette
 Inherited
onChange(event:PropertyChangeEvent):void
Triggeres the re generation of entry items when internal properties change.
AutoPalette
Protected Methods
 MethodDefined by
 Inherited
appendItems(value:Array):void
Appends the passed array of values to the palette entries array and dictionary.
AutoPalette
 Inherited
callProperty(name:*, ... rest):*
Palette
  
Generates the entries for this palette.
InterpolatedColorPalette
 Inherited
getProperty(name:*):*
Palette
 Inherited
setProperty(name:*, value:*):void
Palette
Events
 EventSummaryDefined by
 Inherited  Palette
 Inherited  Palette
Property detail
colorFromproperty
colorFrom:Object  [read-write]

The starting color to interpolate.

This property can be used as the source for data binding.

Implementation
    public function get colorFrom():Object
    public function set colorFrom(value:Object):void
colorsproperty 
colors:Array  [read-write]

The ending color to interpolate.

This property can be used as the source for data binding.

Implementation
    public function get colors():Array
    public function set colors(value:Array):void
colorToproperty 
colorTo:Object  [read-write]

The ending color to interpolate.

This property can be used as the source for data binding.

Implementation
    public function get colorTo():Object
    public function set colorTo(value:Object):void
Constructor detail
InterpolatedColorPalette()constructor
public function InterpolatedColorPalette()
Method detail
generatePalette()method
protected override function generatePalette():void

Generates the entries for this palette.