Modifier and Type | Method | Description |
---|---|---|
void |
DrawingTools.clear(Color color) |
Clear the canvas with the given color.
|
Modifier and Type | Method | Description |
---|---|---|
void |
G2DDrawingTools.clear(Color color) |
Modifier and Type | Method | Description |
---|---|---|
void |
G2DTextureDrawingTools.clear(Color color) |
|
void |
G2DTextureDrawingTools.fillDisc(int x,
int y,
int diameter,
Color color) |
Modifier and Type | Method | Description |
---|---|---|
void |
JoGLDrawingTools.clear(Color color) |
Modifier and Type | Method | Description |
---|---|---|
Color |
JoGLLight.getAmbientColor() |
|
Color |
JoGLLight.getDiffuseColor() |
|
Color |
JoGLLight.getSpecularColor() |
Modifier and Type | Method | Description |
---|---|---|
void |
JoGLLight.setAmbientColor(Color color) |
|
void |
JoGLLight.setDiffuseColor(Color color) |
|
void |
JoGLLight.setSpecularColor(Color color) |
Modifier and Type | Method | Description |
---|---|---|
static void |
G2DShortCuts.useColor(java.awt.Graphics2D g2d,
Color c) |
Use the given color for drawing.
|
static void |
GLShortCuts.useColor(com.jogamp.opengl.GL2 gl,
Color color) |
Set the OpenGl context color to the given color.
|
Modifier and Type | Method | Description |
---|---|---|
Color |
Light.getAmbientColor() |
Return the ambient color of this light;
|
Color |
Light.getDiffuseColor() |
Return the diffuse color of this light;
|
Color |
Light.getSpecularColor() |
Return the specular color of this light;
|
Modifier and Type | Method | Description |
---|---|---|
void |
Light.setAmbientColor(Color color) |
Set the ambient color of this light.
|
void |
Light.setDiffuseColor(Color color) |
Set the diffuse color of this light.
|
void |
Light.setSpecularColor(Color color) |
Set the specular color of this light.
|
Modifier and Type | Field | Description |
---|---|---|
static Color |
RulerModel.DEFAULT_COLOR |
Default color.
|
Modifier and Type | Method | Description |
---|---|---|
Color |
DefaultRulerModel.getColor() |
|
Color |
RulerModel.getColor() |
Color getter.
|
Modifier and Type | Method | Description |
---|---|---|
void |
DefaultRulerModel.setColor(Color color) |
Ruler color setter.
|
Modifier and Type | Field | Description |
---|---|---|
static Color |
Appearance.DEFAULT_FILL_COLOR |
The default fill color.
|
static Color |
Appearance.DEFAULT_LINE_COLOR |
The default line color.
|
Modifier and Type | Method | Description |
---|---|---|
Color |
Appearance.getFillColor() |
Return the fill color.
|
Color |
Appearance.getLineColor() |
Return the line color.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Appearance.setFillColor(Color fillColor) |
Set the fill color.
|
void |
Appearance.setLineColor(Color lineColor) |
Set the line color.
|
Constructor | Description |
---|---|
Color(Color c) |
Copy constructor
|
Modifier and Type | Field | Description |
---|---|---|
static Color |
TextEntity.DEFAULT_TEXT_COLOR |
The default text color.
|
Modifier and Type | Method | Description |
---|---|---|
Color |
TextEntity.getTextColor() |
Return the text color.
|
Modifier and Type | Method | Description |
---|---|---|
void |
BufferedImageTextureDrawingTools.clear(Color color) |
|
void |
TextureDrawingTools.clear(Color color) |
Clear the sprite with the given color.
|
void |
BufferedImageTextureDrawingTools.fillDisc(int x,
int y,
int diameter,
Color color) |
|
void |
TextureDrawingTools.fillDisc(int x,
int y,
int diameter,
Color color) |
Fill a disc of given diameter, centered at (x, y) with the given appearance.
|
void |
TextEntity.setTextColor(Color textColor) |
Set the text color.
|