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