Packageardisia.components.colorSpacePicker
Classpublic class SpectrumBase
InheritanceSpectrumBase Inheritance spark.components.Group
Subclasses PrimarySpectrum, SecondarySpectrum

Base class for the spectrums for the ColorSpacePicker class.

Default MXML PropertymxmlContent



Public Properties
 PropertyDefined By
  borderAlpha : Number
The border alpha.
SpectrumBase
  borderColor : Number
The border color.
SpectrumBase
  color : uint
The color used to define colors in the spectrum, when relevant.
SpectrumBase
  colorSpace : String
The color space for the spectrum.
SpectrumBase
  hslColor : HSLColor
The HSLColor version of the color.
SpectrumBase
  hsvColor : HSVColor
The HSVColor version of the color.
SpectrumBase
  resolution : uint
SpectrumBase
Protected Properties
 PropertyDefined By
  _color : uint = 0
SpectrumBase
  _resolution : uint = 3
SpectrumBase
Property Detail
_colorproperty
protected var _color:uint = 0

_resolutionproperty 
protected var _resolution:uint = 3

borderAlphaproperty 
borderAlpha:Number

The border alpha.

The default value is 1.


Implementation
    public function get borderAlpha():Number
    public function set borderAlpha(value:Number):void
borderColorproperty 
borderColor:Number

The border color.

The default value is 0.


Implementation
    public function get borderColor():Number
    public function set borderColor(value:Number):void
colorproperty 
color:uint

The color used to define colors in the spectrum, when relevant.

Typically is the selected color in the relevant color picker. Not necessary to draw a spectrum for certain color spaces.

The default value is 0.


Implementation
    public function get color():uint
    public function set color(value:uint):void
colorSpaceproperty 
colorSpace:String

The color space for the spectrum.

The default value is HSL-L.


Implementation
    public function get colorSpace():String
    public function set colorSpace(value:String):void
hslColorproperty 
hslColor:HSLColor

The HSLColor version of the color. Useful because hue information can be lost by uint (RGB) storage of color information.

The default value is null.


Implementation
    public function get hslColor():HSLColor
    public function set hslColor(value:HSLColor):void
hsvColorproperty 
hsvColor:HSVColor

The HSVColor version of the color. Useful because hue information can be lost by uint (RGB) storage of color information.

The default value is null.


Implementation
    public function get hsvColor():HSVColor
    public function set hsvColor(value:HSVColor):void
resolutionproperty 
resolution:uint


Implementation
    public function get resolution():uint
    public function set resolution(value:uint):void