joliclic

home

Class Index | File Index

Classes


Class kh.color.HSV


Defined in: kh-color.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
kh.color.HSV(h, s, v)
h in [0, 360], s and v in [0, 100]
Field Summary
Field Attributes Field Name and Description
 
h
the hue of the color in [0, 360]
 
s
the saturation of the color in [0, 100]
 
v
the value of the color in [0, 100]
Method Summary
Method Attributes Method Name and Description
 
HSL conversion
 
RGB conversion
 
String conversion
Class Detail
kh.color.HSV(h, s, v)
h in [0, 360], s and v in [0, 100]
Parameters:
h
s
v
Field Detail
h
the hue of the color in [0, 360]

s
the saturation of the color in [0, 100]

v
the value of the color in [0, 100]
Method Detail
{HSL} toHSL()
HSL conversion
Returns:
{HSL} object

{RGB} toRGB()
RGB conversion
Returns:
{RGB} object

{String} toString()
String conversion
Returns:
{String}

Documentation generated by JsDoc Toolkit 2.3.0

Khromaxul - version: 0.3alpha - Thu Jul 30 2009 14:37:38 GMT+0200 (CEST)