Package | ardisia.components.colorSpacePicker |
Class | public class SpectrumBase |
Inheritance | SpectrumBase spark.components.Group |
Subclasses | PrimarySpectrum, SecondarySpectrum |
Default MXML PropertymxmlContent
Property | Defined 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 |
Property | Defined By | ||
---|---|---|---|
_color : uint = 0 | SpectrumBase | ||
_resolution : uint = 3 | SpectrumBase |
_color | property |
protected var _color:uint = 0
_resolution | property |
protected var _resolution:uint = 3
borderAlpha | property |
borderAlpha:Number
The border alpha.
The default value is 1
.
public function get borderAlpha():Number
public function set borderAlpha(value:Number):void
borderColor | property |
borderColor:Number
The border color.
The default value is 0
.
public function get borderColor():Number
public function set borderColor(value:Number):void
color | property |
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
.
public function get color():uint
public function set color(value:uint):void
colorSpace | property |
colorSpace:String
The color space for the spectrum.
The default value is HSL-L
.
public function get colorSpace():String
public function set colorSpace(value:String):void
hslColor | property |
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
.
public function get hslColor():HSLColor
public function set hslColor(value:HSLColor):void
hsvColor | property |
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
.
public function get hsvColor():HSVColor
public function set hsvColor(value:HSVColor):void
resolution | property |
resolution:uint
public function get resolution():uint
public function set resolution(value:uint):void