|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.drawing.Color
public class Color
Title: Color class
Description:
Copyright (c) 2005-2012 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Field Summary | |
---|---|
static Color |
aqua
The color aqua. |
static Color |
AQUA
The color aqua. |
static Color |
bisque
The color bisque. |
static Color |
BISQUE
The color bisque. |
static Color |
black
The color black. |
static Color |
BLACK
The color black. |
static Color |
blue
The color blue. |
static Color |
BLUE
The color blue. |
static Color |
cyan
The color cyan. |
static Color |
CYAN
The color cyan. |
static Color |
DARK_GRAY
The color dark gray. |
static Color |
darkGray
The color dark gray. |
static Color |
EMPTY
|
static Color |
fuchsia
The color fuchsia. |
static Color |
FUCHSIA
The color fuchsia. |
static Color |
gold
The color gold. |
static Color |
GOLD
The color gold. |
static Color |
gray
The color gray. |
static Color |
GRAY
The color gray. |
static Color |
green
The color green. |
static Color |
GREEN
The color green. |
static Color |
GREEN_YELLOW
The color green yellow. |
static Color |
greenYellow
The color green yellow. |
static Color |
indigo
The color indigo. |
static Color |
INDIGO
The color indigo. |
static Color |
LIGHT_YELLOW
The color light yellow. |
static Color |
lightGray
|
static Color |
lightYellow
The color light yellow. |
static Color |
lime
The color lime. |
static Color |
LIME
The color lime. |
static Color |
magenta
The color magenta. |
static Color |
MAGENTA
The color magenta. |
static Color |
maroon
The color maroon. |
static Color |
MAROON
The color maroon. |
static Color |
navy
The color navy. |
static Color |
NAVY
The color navy. |
static Color |
olive
The color olive. |
static Color |
OLIVE
The color olive. |
static Color |
orange
The color orange. |
static Color |
ORANGE
The color orange. |
static Color |
pink
The color pink. |
static Color |
PINK
The color pink. |
static Color |
purple
The color purple. |
static Color |
PURPLE
The color purple. |
static Color |
red
The color red. |
static Color |
RED
The color red. |
static Color |
silver
The color silver. |
static Color |
SILVER
The color silver. |
static Color |
SKY_BLUE
The color sky blue. |
static Color |
skyBlue
The color sky blue. |
static Color |
teal
The color teal. |
static Color |
TEAL
The color teal. |
static Color |
transparent
|
static Color |
TRANSPARENT
|
static Color |
white
The color white. |
static Color |
WHITE
The color white. |
static Color |
WHITE_SMOKE
The color white smoke. |
static Color |
whiteSmoke
The color white smoke. |
static Color |
yellow
The color yellow. |
static Color |
YELLOW
The color yellow. |
Constructor Summary | |
---|---|
Color()
|
|
Color(Color value)
|
|
Color(int value)
|
|
Color(int r,
int g,
int b)
|
|
Color(int r,
int g,
int b,
int alpha)
|
Method Summary | |
---|---|
Color |
applyBright(int howMuch)
Converts the Color parameter to a brighter color. |
Color |
applyDark(int howMuch)
Converts the Color parameter to a darker color. |
static Color |
fromArgb(int value)
|
static Color |
fromArgb(int r,
int g,
int b)
|
static Color |
fromArgb(int a,
int r,
int g,
int b)
|
int |
getAlpha()
|
int |
getBlue()
|
boolean |
getEmpty()
Returns true when the Color equals to EMPTY color. |
int |
getGreen()
|
boolean |
getNone()
|
int |
getRed()
|
int |
getRGB()
|
boolean |
isEmpty()
|
boolean |
isNull()
|
static Color |
random()
Creates a new Color instance with random RED, GREEN and BLUE color components. |
void |
setEmpty(boolean value)
|
void |
setNone(boolean value)
|
static int |
transparencyOf(Color value)
Returns an integer from 0 to 100 that is the percent of transparency of this color. |
Color |
transparentColor(int value)
Returns Color with transparency percentage applied. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Color EMPTY
public static final Color transparent
public static final Color TRANSPARENT
public static final Color black
public static final Color BLACK
public static final Color darkGray
public static final Color DARK_GRAY
public static final Color yellow
public static final Color YELLOW
public static final Color red
public static final Color RED
public static final Color green
public static final Color GREEN
public static final Color blue
public static final Color BLUE
public static final Color silver
public static final Color SILVER
public static final Color gray
public static final Color GRAY
public static final Color white
public static final Color WHITE
public static final Color whiteSmoke
public static final Color WHITE_SMOKE
public static final Color navy
public static final Color NAVY
public static final Color gold
public static final Color GOLD
public static final Color lightYellow
public static final Color LIGHT_YELLOW
public static final Color fuchsia
public static final Color FUCHSIA
public static final Color teal
public static final Color TEAL
public static final Color maroon
public static final Color MAROON
public static final Color lime
public static final Color LIME
public static final Color olive
public static final Color OLIVE
public static final Color purple
public static final Color PURPLE
public static final Color aqua
public static final Color AQUA
public static final Color greenYellow
public static final Color GREEN_YELLOW
public static final Color skyBlue
public static final Color SKY_BLUE
public static final Color bisque
public static final Color BISQUE
public static final Color indigo
public static final Color INDIGO
public static final Color pink
public static final Color PINK
public static final Color orange
public static final Color ORANGE
public static final Color magenta
public static final Color MAGENTA
public static final Color cyan
public static final Color CYAN
public static final Color lightGray
Constructor Detail |
---|
public Color()
public Color(int r, int g, int b, int alpha)
public Color(int r, int g, int b)
public Color(int value)
public Color(Color value)
Method Detail |
---|
public boolean isEmpty()
public boolean getEmpty()
public void setEmpty(boolean value)
public boolean isNull()
public boolean getNone()
public void setNone(boolean value)
public static Color fromArgb(int value)
public static Color fromArgb(int a, int r, int g, int b)
public static Color fromArgb(int r, int g, int b)
public static Color random()
public Color transparentColor(int value)
value
- int
public static int transparencyOf(Color value)
value
- Color
transparentColor(int)
,
java.awt.Color#getAlpha
public Color applyDark(int howMuch)
howMuch
- int
public Color applyBright(int howMuch)
howMuch
- int
public int getRGB()
public int getAlpha()
public int getRed()
public int getGreen()
public int getBlue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |