Constructor Summary |
---|
Color()
construct function |
Method Summary | ||
---|---|---|
function | equals(obj) | |
Tests whether the specified object is a Color object and is equivalent to this object.
|
||
static function | fromArgb(argb) | |
Creates a Color object from a 32-bit ARGB value.
|
||
static function | fromArgb(red, green, blue) | |
Creates a Color object from the specified 8-bit color values
(red, green, and blue). The alpha value is implicitly 255 (fully opaque).
Although this method allows a 32-bit value to be passed for each color component,
the value of each component is limited to 8 bits.
|
||
static function | fromArgb(alpha, red, green, blue) | |
Creates a Color object from the four ARGB component (alpha,red, green, and blue) values. Although this method allows a 32-bit value
to be passed for each component, the value of each component is limited to 8 bits.
|
||
function | getA() | |
Gets the alpha component value of this Color object.
|
||
static function | getAliceBlue() | |
Get a system-defined color.
|
||
static function | getAntiqueWhite() | |
Get a system-defined color.
|
||
static function | getAqua() | |
Get a system-defined color.
|
||
static function | getAquamarine() | |
Get a system-defined color.
|
||
static function | getAzure() | |
Get a system-defined color.
|
||
function | getB() | |
Gets the blue component value of this Color object.
|
||
static function | getBeige() | |
Get a system-defined color.
|
||
static function | getBisque() | |
Get a system-defined color.
|
||
static function | getBlack() | |
Get a system-defined color.
|
||
static function | getBlanchedAlmond() | |
Get a system-defined color.
|
||
static function | getBlue() | |
Get a system-defined color.
|
||
static function | getBlueViolet() | |
Get a system-defined color.
|
||
static function | getBrown() | |
Get a system-defined color.
|
||
static function | getBurlyWood() | |
Get a system-defined color.
|
||
static function | getCadetBlue() | |
Get a system-defined color.
|
||
static function | getChartreuse() | |
Get a system-defined color.
|
||
static function | getChocolate() | |
Get a system-defined color.
|
||
static function | getCoral() | |
Get a system-defined color.
|
||
static function | getCornflowerBlue() | |
Get a system-defined color.
|
||
static function | getCornsilk() | |
Get a system-defined color.
|
||
static function | getCrimson() | |
Get a system-defined color.
|
||
static function | getCyan() | |
Get a system-defined color.
|
||
static function | getDarkBlue() | |
Get a system-defined color.
|
||
static function | getDarkCyan() | |
Get a system-defined color.
|
||
static function | getDarkGoldenrod() | |
Get a system-defined color.
|
||
static function | getDarkGray() | |
Get a system-defined color.
|
||
static function | getDarkGreen() | |
Get a system-defined color.
|
||
static function | getDarkKhaki() | |
Get a system-defined color.
|
||
static function | getDarkMagenta() | |
Get a system-defined color.
|
||
static function | getDarkOliveGreen() | |
Get a system-defined color.
|
||
static function | getDarkOrange() | |
Get a system-defined color.
|
||
static function | getDarkOrchid() | |
Get a system-defined color.
|
||
static function | getDarkRed() | |
Get a system-defined color.
|
||
static function | getDarkSalmon() | |
Get a system-defined color.
|
||
static function | getDarkSeaGreen() | |
Get a system-defined color.
|
||
static function | getDarkSlateBlue() | |
Get a system-defined color.
|
||
static function | getDarkSlateGray() | |
Get a system-defined color.
|
||
static function | getDarkTurquoise() | |
Get a system-defined color.
|
||
static function | getDarkViolet() | |
Get a system-defined color.
|
||
static function | getDeepPink() | |
Get a system-defined color.
|
||
static function | getDeepSkyBlue() | |
Get a system-defined color.
|
||
static function | getDimGray() | |
Get a system-defined color.
|
||
static function | getDodgerBlue() | |
Get a system-defined color.
|
||
static function | getEmpty() | |
Get a system-defined empty color.
|
||
static function | getFirebrick() | |
Get a system-defined color.
|
||
static function | getFloralWhite() | |
Get a system-defined color.
|
||
static function | getForestGreen() | |
Get a system-defined color.
|
||
static function | getFuchsia() | |
Get a system-defined color.
|
||
function | getG() | |
Gets the green component value of this Color object.
|
||
static function | getGainsboro() | |
Get a system-defined color.
|
||
static function | getGhostWhite() | |
Get a system-defined color.
|
||
static function | getGold() | |
Get a system-defined color.
|
||
static function | getGoldenrod() | |
Get a system-defined color.
|
||
static function | getGray() | |
Get a system-defined color.
|
||
static function | getGreen() | |
Get a system-defined color.
|
||
static function | getGreenYellow() | |
Get a system-defined color.
|
||
static function | getHoneydew() | |
Get a system-defined color.
|
||
static function | getHotPink() | |
Get a system-defined color.
|
||
static function | getIndianRed() | |
Get a system-defined color.
|
||
static function | getIndigo() | |
Get a system-defined color.
|
||
static function | getIvory() | |
Get a system-defined color.
|
||
static function | getKhaki() | |
Get a system-defined color.
|
||
static function | getLavender() | |
Get a system-defined color.
|
||
static function | getLavenderBlush() | |
Get a system-defined color.
|
||
static function | getLawnGreen() | |
Get a system-defined color.
|
||
static function | getLemonChiffon() | |
Get a system-defined color.
|
||
static function | getLightBlue() | |
Get a system-defined color.
|
||
static function | getLightCoral() | |
Get a system-defined color.
|
||
static function | getLightCyan() | |
Get a system-defined color.
|
||
static function | getLightGoldenrodYellow() | |
Get a system-defined color.
|
||
static function | getLightGray() | |
Get a system-defined color.
|
||
static function | getLightGreen() | |
Get a system-defined color.
|
||
static function | getLightPink() | |
Get a system-defined color.
|
||
static function | getLightSalmon() | |
Get a system-defined color.
|
||
static function | getLightSeaGreen() | |
Get a system-defined color.
|
||
static function | getLightSkyBlue() | |
Get a system-defined color.
|
||
static function | getLightSlateGray() | |
Get a system-defined color.
|
||
static function | getLightSteelBlue() | |
Get a system-defined color.
|
||
static function | getLightYellow() | |
Get a system-defined color.
|
||
static function | getLime() | |
Get a system-defined color.
|
||
static function | getLimeGreen() | |
Get a system-defined color.
|
||
static function | getLinen() | |
Get a system-defined color.
|
||
static function | getMagenta() | |
Get a system-defined color.
|
||
static function | getMaroon() | |
Get a system-defined color.
|
||
static function | getMediumAquamarine() | |
Get a system-defined color.
|
||
static function | getMediumBlue() | |
Get a system-defined color.
|
||
static function | getMediumOrchid() | |
Get a system-defined color.
|
||
static function | getMediumPurple() | |
Get a system-defined color.
|
||
static function | getMediumSeaGreen() | |
Get a system-defined color.
|
||
static function | getMediumSlateBlue() | |
Get a system-defined color.
|
||
static function | getMediumSpringGreen() | |
Get a system-defined color.
|
||
static function | getMediumTurquoise() | |
Get a system-defined color.
|
||
static function | getMediumVioletRed() | |
Get a system-defined color.
|
||
static function | getMidnightBlue() | |
Get a system-defined color.
|
||
static function | getMintCream() | |
Get a system-defined color.
|
||
static function | getMistyRose() | |
Get a system-defined color.
|
||
static function | getMoccasin() | |
Get a system-defined color.
|
||
static function | getNavajoWhite() | |
Get a system-defined color.
|
||
static function | getNavy() | |
Get a system-defined color.
|
||
static function | getOldLace() | |
Get a system-defined color.
|
||
static function | getOlive() | |
Get a system-defined color.
|
||
static function | getOliveDrab() | |
Get a system-defined color.
|
||
static function | getOrange() | |
Get a system-defined color.
|
||
static function | getOrangeRed() | |
Get a system-defined color.
|
||
static function | getOrchid() | |
Get a system-defined color.
|
||
static function | getPaleGoldenrod() | |
Get a system-defined color.
|
||
static function | getPaleGreen() | |
Get a system-defined color.
|
||
static function | getPaleTurquoise() | |
Get a system-defined color.
|
||
static function | getPaleVioletRed() | |
Get a system-defined color.
|
||
static function | getPapayaWhip() | |
Get a system-defined color.
|
||
static function | getPeachPuff() | |
Get a system-defined color.
|
||
static function | getPeru() | |
Get a system-defined color.
|
||
static function | getPink() | |
Get a system-defined color.
|
||
static function | getPlum() | |
Get a system-defined color.
|
||
static function | getPowderBlue() | |
Get a system-defined color.
|
||
static function | getPurple() | |
Get a system-defined color.
|
||
function | getR() | |
Gets the red component value of this Color object.
|
||
static function | getRed() | |
Get a system-defined color.
|
||
static function | getRosyBrown() | |
Get a system-defined color.
|
||
static function | getRoyalBlue() | |
Get a system-defined color.
|
||
static function | getSaddleBrown() | |
Get a system-defined color.
|
||
static function | getSalmon() | |
Get a system-defined color.
|
||
static function | getSandyBrown() | |
Get a system-defined color.
|
||
static function | getSeaGreen() | |
Get a system-defined color.
|
||
static function | getSeaShell() | |
Get a system-defined color.
|
||
static function | getSienna() | |
Get a system-defined color.
|
||
static function | getSilver() | |
Get a system-defined color.
|
||
static function | getSkyBlue() | |
Get a system-defined color.
|
||
static function | getSlateBlue() | |
Get a system-defined color.
|
||
static function | getSlateGray() | |
Get a system-defined color.
|
||
static function | getSnow() | |
Get a system-defined color.
|
||
static function | getSpringGreen() | |
Get a system-defined color.
|
||
static function | getSteelBlue() | |
Get a system-defined color.
|
||
static function | getTan() | |
Get a system-defined color.
|
||
static function | getTeal() | |
Get a system-defined color.
|
||
static function | getThistle() | |
Get a system-defined color.
|
||
static function | getTomato() | |
Get a system-defined color.
|
||
static function | getTransparent() | |
Get a system-defined color.
|
||
static function | getTurquoise() | |
Get a system-defined color.
|
||
static function | getViolet() | |
Get a system-defined color.
|
||
static function | getWheat() | |
Get a system-defined color.
|
||
static function | getWhite() | |
Get a system-defined color.
|
||
static function | getWhiteSmoke() | |
Get a system-defined color.
|
||
static function | getYellow() | |
Get a system-defined color.
|
||
static function | getYellowGreen() | |
Get a system-defined color.
|
||
function | hashCode() | |
Returns a hash code for this Color object.
|
||
function | isEmpty() | |
Specifies whether this Color object is uninitialized.
|
||
function | toArgb() | |
Gets the 32-bit ARGB value of this Color object.
|
static function getSienna()
static function getSilver()
static function getSkyBlue()
static function getSlateBlue()
static function getSlateGray()
static function getSnow()
static function getSpringGreen()
static function getSteelBlue()
static function getTan()
static function getTeal()
static function getThistle()
static function getTomato()
static function getTransparent()
static function getTurquoise()
static function getViolet()
static function getWheat()
static function getWhite()
static function getWhiteSmoke()
static function getYellow()
static function getYellowGreen()
function getA()
function getR()
function getG()
function getB()
function isEmpty()
function toArgb()
function equals(obj)
obj: Object
- The object to test.function hashCode()
static function fromArgb(argb)
argb: Number
- A value specifying the 32-bit ARGB value.static function fromArgb(red, green, blue)
red: Number
- The red component value for the new Color object. Valid values are 0 through 255.green: Number
- The green component value for the new Color object. Valid values are 0 through 255.blue: Number
- The blue component value for the new Color object. Valid values are 0 through 255.static function fromArgb(alpha, red, green, blue)
alpha: Number
- The alpha component. Valid values are 0 through 255.red: Number
- The red component. Valid values are 0 through 255.green: Number
- The green component. Valid values are 0 through 255.blue: Number
- The blue component. Valid values are 0 through 255.static function getEmpty()
static function getAliceBlue()
static function getAntiqueWhite()
static function getAzure()
static function getAquamarine()
static function getAqua()
static function getBeige()
static function getBisque()
static function getBlack()
static function getBlanchedAlmond()
static function getBlue()
static function getBlueViolet()
static function getBrown()
static function getCadetBlue()
static function getBurlyWood()
static function getChartreuse()
static function getChocolate()
static function getCoral()
static function getCornflowerBlue()
static function getCornsilk()
static function getCrimson()
static function getCyan()
static function getDarkBlue()
static function getDarkCyan()
static function getDarkGoldenrod()
static function getDarkGray()
static function getDarkGreen()
static function getDarkKhaki()
static function getDarkMagenta()
static function getDarkOliveGreen()
static function getDarkOrange()
static function getDarkOrchid()
static function getDarkRed()
static function getDarkSalmon()
static function getDarkSeaGreen()
static function getDarkSlateBlue()
static function getDarkSlateGray()
static function getDarkTurquoise()
static function getDarkViolet()
static function getDeepPink()
static function getDeepSkyBlue()
static function getDimGray()
static function getDodgerBlue()
static function getFirebrick()
static function getFloralWhite()
static function getForestGreen()
static function getFuchsia()
static function getGainsboro()
static function getGhostWhite()
static function getGold()
static function getGoldenrod()
static function getGray()
static function getGreen()
static function getGreenYellow()
static function getHoneydew()
static function getHotPink()
static function getIndianRed()
static function getIndigo()
static function getIvory()
static function getKhaki()
static function getLavender()
static function getLavenderBlush()
static function getLawnGreen()
static function getLemonChiffon()
static function getLightBlue()
static function getLightCoral()
static function getLightCyan()
static function getLightGoldenrodYellow()
static function getLightGray()
static function getLightGreen()
static function getLightPink()
static function getLightSalmon()
static function getLightSeaGreen()
static function getLightSkyBlue()
static function getLightSlateGray()
static function getLightSteelBlue()
static function getLightYellow()
static function getLime()
static function getLimeGreen()
static function getLinen()
static function getMagenta()
static function getMaroon()
static function getMediumAquamarine()
static function getMediumBlue()
static function getMediumOrchid()
static function getMediumPurple()
static function getMediumSeaGreen()
static function getMediumSlateBlue()
static function getMediumSpringGreen()
static function getMediumTurquoise()
static function getMediumVioletRed()
static function getMidnightBlue()
static function getMintCream()
static function getMistyRose()
static function getMoccasin()
static function getNavajoWhite()
static function getNavy()
static function getOldLace()
static function getOlive()
static function getOliveDrab()
static function getOrange()
static function getOrangeRed()
static function getOrchid()
static function getPaleGoldenrod()
static function getPaleGreen()
static function getPaleTurquoise()
static function getPaleVioletRed()
static function getPapayaWhip()
static function getPeachPuff()
static function getPeru()
static function getPink()
static function getPlum()
static function getPowderBlue()
static function getPurple()
static function getRed()
static function getRosyBrown()
static function getRoyalBlue()
static function getSaddleBrown()
static function getSalmon()
static function getSandyBrown()
static function getSeaGreen()
static function getSeaShell()