Class fever.structures.color.HSV

Implemented Interfaces

IColor Cloneable

Description

Defines color using HSV componants and range.

You have to define your HSV Range before any HSV instanciation, take a lokk at example below.

   ColorSpace.HSVRANGE = HSVRange.KDE;
   
   var color : HSV = new HSV( 100, 100, 100 );
 

See Also

Field Index

hue, saturation, value

Method Index

new HSV()
clone(), getColor(), getString(), toString()

Constructor Detail

HSV

public function HSV(h:Number, s:Number, v:Number)

Constructor.

Field Detail

hue

public hue:Number

saturation

public saturation:Number

value

public value:Number

Method Detail

getColor

public function getColor():Number

Returns color value in Number format.

Specified By

getColor() in fever.structures.IColor

getString

public function getString():String

Return color value in hexa String format.

Specified By

getString() in fever.structures.IColor

clone

public function clone():Cloneable

Returns a clone instance.

Return

Cloneable

Specified By

clone() in fever.core.Cloneable

toString

public function toString():String

Returns string representation.