| Package | com.kraftner.geom |
| Class | public class DynamicPaletteRandom |
| Inheritance | DynamicPaletteRandom Palette |
| Method | Defined by | ||
|---|---|---|---|
|
DynamicPaletteRandom(randomize_red:Boolean = true, randomize_green:Boolean = true, randomize_blue:Boolean = true, randomize_alpha:Boolean = false, fillWith:Number = 0)
Constructor method.
| DynamicPaletteRandom | ||
![]() |
Returns a Color Object representing the average color of this Palette
| Palette | |
![]() |
Returns a copy of this Palette
| Palette | |
![]() |
Returns the current Color of this Palette.
| Palette | |
![]() |
Returns the color at a certain position of this Palette.
| Palette | |
![]() |
Returns the next Color of this Palette.
| Palette | |
![]() |
Returns the previous Color of this Palette.
| Palette | |
![]() |
sortByBlue():void
Sorts the Colors of this Palette by the blue part of the contained Colors.
| Palette | |
![]() |
sortByBrightness():void
Sorts the Colors of this Palette by the brightness of the contained Colors.
| Palette | |
![]() |
sortByGreen():void
Sorts the Colors of this Palette by the green part of the contained Colors.
| Palette | |
![]() |
sortByHEX():void
Sorts the Colors of this Palette by the HEX value of the contained Colors.
| Palette | |
![]() |
sortByHue():void
Sorts the Colors of this Palette by the Hue of the contained Colors
| Palette | |
![]() |
sortByLightness():void
Sorts the Colors of this Palette by the lightness (as set by the HSL Colorsystem) of the contained Colors.
| Palette | |
![]() |
sortByProximity(color:Color):void
Sorts the Colors of this Palette by the proximity of the contained Colors to a certain Color
| Palette | |
![]() |
sortByRed():void
Sorts the Colors of this Palette by the red part of the contained Colors.
| Palette | |
![]() |
sortBySaturationHSL():void
Sorts the Colors of this Palette by the saturation (as set by the HSL Colorsystem) of the contained Colors.
| Palette | |
![]() |
sortBySaturationHSV():void
Sorts the Colors of this Palette by the saturation (as set by the HSV Colorsystem) of the contained Colors.
| Palette | |
![]() |
sortByValue():void
Sorts the Colors of this Palette by the value (as set by the HSV Colorsystem) of the contained Colors.
| Palette | |
| DynamicPaletteRandom | () | constructor |
public function DynamicPaletteRandom(randomize_red:Boolean = true, randomize_green:Boolean = true, randomize_blue:Boolean = true, randomize_alpha:Boolean = false, fillWith:Number = 0)Constructor method. You can select which parts of the RGBA color should be randomized
Parametersrandomize_red:Boolean (default = true) |
|
randomize_green:Boolean (default = true) |
|
randomize_blue:Boolean (default = true) |
|
randomize_alpha:Boolean (default = false) |
|
fillWith:Number (default = 0) — precalculate a certain number of Colors
|