| 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. | ||
| Constructor Detail |
|---|
function Color()
| Method Detail |
|---|
getSienna | |
static function getSienna() | |
getSilver | |
static function getSilver() | |
getSkyBlue | |
static function getSkyBlue() | |
getSlateBlue | |
static function getSlateBlue() | |
getSlateGray | |
static function getSlateGray() | |
getSnow | |
static function getSnow() | |
getSpringGreen | |
static function getSpringGreen() | |
getSteelBlue | |
static function getSteelBlue() | |
getTan | |
static function getTan() | |
getTeal | |
static function getTeal() | |
getThistle | |
static function getThistle() | |
getTomato | |
static function getTomato() | |
getTransparent | |
static function getTransparent() | |
getTurquoise | |
static function getTurquoise() | |
getViolet | |
static function getViolet() | |
getWheat | |
static function getWheat() | |
getWhite | |
static function getWhite() | |
getWhiteSmoke | |
static function getWhiteSmoke() | |
getYellow | |
static function getYellow() | |
getYellowGreen | |
static function getYellowGreen() | |
getA | |
function getA() | |
getR | |
function getR() | |
getG | |
function getG() | |
getB | |
function getB() | |
isEmpty | |
function isEmpty() | |
toArgb | |
function toArgb() | |
equals | |
function equals(obj) | |
obj: Object - The object to test.hashCode | |
function hashCode() | |
fromArgb | |
static function fromArgb(argb) | |
argb: Number - A value specifying the 32-bit ARGB value.fromArgb | |
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.fromArgb | |
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.getEmpty | |
static function getEmpty() | |
getAliceBlue | |
static function getAliceBlue() | |
getAntiqueWhite | |
static function getAntiqueWhite() | |
getAzure | |
static function getAzure() | |
getAquamarine | |
static function getAquamarine() | |
getAqua | |
static function getAqua() | |
getBeige | |
static function getBeige() | |
getBisque | |
static function getBisque() | |
getBlack | |
static function getBlack() | |
getBlanchedAlmond | |
static function getBlanchedAlmond() | |
getBlue | |
static function getBlue() | |
getBlueViolet | |
static function getBlueViolet() | |
getBrown | |
static function getBrown() | |
getCadetBlue | |
static function getCadetBlue() | |
getBurlyWood | |
static function getBurlyWood() | |
getChartreuse | |
static function getChartreuse() | |
getChocolate | |
static function getChocolate() | |
getCoral | |
static function getCoral() | |
getCornflowerBlue | |
static function getCornflowerBlue() | |
getCornsilk | |
static function getCornsilk() | |
getCrimson | |
static function getCrimson() | |
getCyan | |
static function getCyan() | |
getDarkBlue | |
static function getDarkBlue() | |
getDarkCyan | |
static function getDarkCyan() | |
getDarkGoldenrod | |
static function getDarkGoldenrod() | |
getDarkGray | |
static function getDarkGray() | |
getDarkGreen | |
static function getDarkGreen() | |
getDarkKhaki | |
static function getDarkKhaki() | |
getDarkMagenta | |
static function getDarkMagenta() | |
getDarkOliveGreen | |
static function getDarkOliveGreen() | |
getDarkOrange | |
static function getDarkOrange() | |
getDarkOrchid | |
static function getDarkOrchid() | |
getDarkRed | |
static function getDarkRed() | |
getDarkSalmon | |
static function getDarkSalmon() | |
getDarkSeaGreen | |
static function getDarkSeaGreen() | |
getDarkSlateBlue | |
static function getDarkSlateBlue() | |
getDarkSlateGray | |
static function getDarkSlateGray() | |
getDarkTurquoise | |
static function getDarkTurquoise() | |
getDarkViolet | |
static function getDarkViolet() | |
getDeepPink | |
static function getDeepPink() | |
getDeepSkyBlue | |
static function getDeepSkyBlue() | |
getDimGray | |
static function getDimGray() | |
getDodgerBlue | |
static function getDodgerBlue() | |
getFirebrick | |
static function getFirebrick() | |
getFloralWhite | |
static function getFloralWhite() | |
getForestGreen | |
static function getForestGreen() | |
getFuchsia | |
static function getFuchsia() | |
getGainsboro | |
static function getGainsboro() | |
getGhostWhite | |
static function getGhostWhite() | |
getGold | |
static function getGold() | |
getGoldenrod | |
static function getGoldenrod() | |
getGray | |
static function getGray() | |
getGreen | |
static function getGreen() | |
getGreenYellow | |
static function getGreenYellow() | |
getHoneydew | |
static function getHoneydew() | |
getHotPink | |
static function getHotPink() | |
getIndianRed | |
static function getIndianRed() | |
getIndigo | |
static function getIndigo() | |
getIvory | |
static function getIvory() | |
getKhaki | |
static function getKhaki() | |
getLavender | |
static function getLavender() | |
getLavenderBlush | |
static function getLavenderBlush() | |
getLawnGreen | |
static function getLawnGreen() | |
getLemonChiffon | |
static function getLemonChiffon() | |
getLightBlue | |
static function getLightBlue() | |
getLightCoral | |
static function getLightCoral() | |
getLightCyan | |
static function getLightCyan() | |
getLightGoldenrodYellow | |
static function getLightGoldenrodYellow() | |
getLightGray | |
static function getLightGray() | |
getLightGreen | |
static function getLightGreen() | |
getLightPink | |
static function getLightPink() | |
getLightSalmon | |
static function getLightSalmon() | |
getLightSeaGreen | |
static function getLightSeaGreen() | |
getLightSkyBlue | |
static function getLightSkyBlue() | |
getLightSlateGray | |
static function getLightSlateGray() | |
getLightSteelBlue | |
static function getLightSteelBlue() | |
getLightYellow | |
static function getLightYellow() | |
getLime | |
static function getLime() | |
getLimeGreen | |
static function getLimeGreen() | |
getLinen | |
static function getLinen() | |
getMagenta | |
static function getMagenta() | |
getMaroon | |
static function getMaroon() | |
getMediumAquamarine | |
static function getMediumAquamarine() | |
getMediumBlue | |
static function getMediumBlue() | |
getMediumOrchid | |
static function getMediumOrchid() | |
getMediumPurple | |
static function getMediumPurple() | |
getMediumSeaGreen | |
static function getMediumSeaGreen() | |
getMediumSlateBlue | |
static function getMediumSlateBlue() | |
getMediumSpringGreen | |
static function getMediumSpringGreen() | |
getMediumTurquoise | |
static function getMediumTurquoise() | |
getMediumVioletRed | |
static function getMediumVioletRed() | |
getMidnightBlue | |
static function getMidnightBlue() | |
getMintCream | |
static function getMintCream() | |
getMistyRose | |
static function getMistyRose() | |
getMoccasin | |
static function getMoccasin() | |
getNavajoWhite | |
static function getNavajoWhite() | |
getNavy | |
static function getNavy() | |
getOldLace | |
static function getOldLace() | |
getOlive | |
static function getOlive() | |
getOliveDrab | |
static function getOliveDrab() | |
getOrange | |
static function getOrange() | |
getOrangeRed | |
static function getOrangeRed() | |
getOrchid | |
static function getOrchid() | |
getPaleGoldenrod | |
static function getPaleGoldenrod() | |
getPaleGreen | |
static function getPaleGreen() | |
getPaleTurquoise | |
static function getPaleTurquoise() | |
getPaleVioletRed | |
static function getPaleVioletRed() | |
getPapayaWhip | |
static function getPapayaWhip() | |
getPeachPuff | |
static function getPeachPuff() | |
getPeru | |
static function getPeru() | |
getPink | |
static function getPink() | |
getPlum | |
static function getPlum() | |
getPowderBlue | |
static function getPowderBlue() | |
getPurple | |
static function getPurple() | |
getRed | |
static function getRed() | |
getRosyBrown | |
static function getRosyBrown() | |
getRoyalBlue | |
static function getRoyalBlue() | |
getSaddleBrown | |
static function getSaddleBrown() | |
getSalmon | |
static function getSalmon() | |
getSandyBrown | |
static function getSandyBrown() | |
getSeaGreen | |
static function getSeaGreen() | |
getSeaShell | |
static function getSeaShell() | |