SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Constructor Summary | |
---|---|
APE.color.ColorRGB(r, g, b)
ColorRGB |
Method Summary | |
---|---|
boolean
|
equals(c)
|
boolean
|
isValid()
|
String
|
toHexString()
|
ColorHSV
|
toHSV()
|
String
|
toString()
|
Number
|
valueOf()
|
Constructor Detail |
---|
APE.color.ColorRGB(r, g, b)
uint r
- 0-255
uint g
- 0-255
uint b
- 0-255
Method Detail |
---|
boolean equals(c)
c
boolean
true if this r,g,b equal other's r,g,b.
boolean isValid()
boolean
if r,g,b are all numbers 0-255.
invalid colors can be used for initialization and caching.
String toHexString()
String
six digit hex string like #336699
ColorHSV toHSV()
ColorHSV
color object.
String toString()
String
helpful debugging info.
Number valueOf()
Number
numerical representation of the Color; like hex value, but in decimal.