| Package | com.degrafa.paint.palette |
| Class | public dynamic class InterpolatedColorPalette |
| Inheritance | InterpolatedColorPalette AutoPalette Palette mx.utils.ObjectProxy |
| Property | Defined 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 | ||
![]() | document : Object
The MXML document that created this object.
| Palette | |
![]() | entries : Array
An array of PaletteEntry objects.
| Palette | |
![]() | entryPrefix : String
The prefix to use for item names so that they can be properly refferenced.
| AutoPalette | |
![]() | id : String
The identifier used by document to refer to this object.
| Palette | |
![]() | isInitialized : Boolean | Palette | |
![]() | name : String
The name that refers to this object.
| Palette | |
![]() | palette : Palette | Palette | |
![]() | paletteEntries : Dictionary
An dictionary of palette entries.
| Palette | |
![]() | requestedSize : int
The number of entries to be generated.
| AutoPalette | |
| Method | Defined by | ||
|---|---|---|---|
| InterpolatedColorPalette | |||
![]() |
clear():void
Removes all palette entries.
| Palette | |
![]() |
getItemByIndex(value:int):*
Returns a palette entry item by index.
| Palette | |
![]() |
getItemByName(value:String):*
Returns a palette entry item by name.
| Palette | |
![]() |
getValueByIndex(value:int):*
Returns a palette entry value by index.
| Palette | |
![]() |
getValueByName(value:String):*
Returns a palette entry value by name.
| Palette | |
![]() |
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 | |
![]() |
onChange(event:PropertyChangeEvent):void
Triggeres the re generation of entry items when internal properties change.
| AutoPalette | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
appendItems(value:Array):void
Appends the passed array of values to the palette entries array and dictionary.
| AutoPalette | |
![]() |
callProperty(name:*, ... rest):*
| Palette | |
|
generatePalette():void
Generates the entries for this palette.
| InterpolatedColorPalette | ||
![]() |
getProperty(name:*):*
| Palette | |
![]() |
setProperty(name:*, value:*):void
| Palette | |
| colorFrom | property |
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
| colors | property |
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
| colorTo | property |
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
| InterpolatedColorPalette | () | constructor |
public function InterpolatedColorPalette()
| generatePalette | () | method |
protected override function generatePalette():voidGenerates the entries for this palette.