Modifier and Type | Method and Description |
---|---|
void |
DrawingTools.clear(Color color)
Clear the canvas with the given color.
|
void |
DrawingTools.draw(Texture texture,
AnchorPosition anchor,
ElementsBuffer positions,
Color auxColor,
ElementsBuffer colors)
Draw the given texture at all given position with selected colors.
|
void |
DrawingTools.draw(Texture texture,
AnchorPosition anchor,
ElementsBuffer positions,
double rotationAngle,
Color auxColor,
ElementsBuffer colors)
Draw the given texture at all given position with the given rotation angle with selected colors.
|
void |
DrawingTools.draw(Texture texture,
AnchorPosition anchor,
ElementsBuffer positions,
int offset,
int stride,
double rotationAngle,
Color auxColor,
ElementsBuffer colors)
Draw the given texture at all given position with given offset and stride with the given rotation angle with the given color.
|
Modifier and Type | Method and Description |
---|---|
void |
G2DDrawingTools.clear(Color color) |
void |
G2DDrawingTools.draw(Texture texture,
AnchorPosition anchor,
ElementsBuffer positions,
Color auxColor,
ElementsBuffer colors) |
void |
G2DDrawingTools.draw(Texture texture,
AnchorPosition anchor,
ElementsBuffer positions,
double rotationAngle,
Color auxColor,
ElementsBuffer colors) |
void |
G2DDrawingTools.draw(Texture texture,
AnchorPosition anchor,
ElementsBuffer positions,
int offset,
int stride,
double rotationAngle,
Color auxColor,
ElementsBuffer colors) |
Modifier and Type | Method and Description |
---|---|
Color |
G2DLight.getAmbientColor() |
Color |
G2DLight.getDiffuseColor() |
Color |
G2DLight.getSpecularColor() |
Modifier and Type | Method and Description |
---|---|
void |
G2DLight.setAmbientColor(Color color) |
void |
G2DLight.setDiffuseColor(Color color) |
void |
G2DLight.setSpecularColor(Color color) |
Modifier and Type | Method and Description |
---|---|
void |
Motor3D.draw(DrawingTools drawingTools,
Texture texture,
AnchorPosition anchor,
ElementsBuffer positions,
int offset,
int stride,
double rotationAngle,
Color auxColor,
ElementsBuffer colors) |
Modifier and Type | Method and Description |
---|---|
void |
G2DTextureDrawingTools.clear(Color color) |
void |
G2DTextureDrawingTools.fillDisc(int x,
int y,
int diameter,
Color color) |
java.awt.Color |
G2DTextureDrawingTools.getColor(Color color) |
Modifier and Type | Method and Description |
---|---|
void |
JoGLDrawingTools.clear(Color color) |
void |
JoGLDrawingTools.draw(Texture texture,
AnchorPosition anchor,
ElementsBuffer positions,
Color auxColor,
ElementsBuffer colors) |
void |
JoGLDrawingTools.draw(Texture texture,
AnchorPosition anchor,
ElementsBuffer positions,
double rotationAngle,
Color auxColor,
ElementsBuffer colors) |
void |
JoGLDrawingTools.draw(Texture texture,
AnchorPosition anchor,
ElementsBuffer positions,
int offset,
int stride,
double rotationAngle,
Color auxColor,
ElementsBuffer colors) |
Modifier and Type | Method and Description |
---|---|
Color |
JoGLLight.getAmbientColor() |
Color |
JoGLLight.getDiffuseColor() |
Color |
JoGLLight.getSpecularColor() |
Modifier and Type | Method and Description |
---|---|
void |
JoGLLight.setAmbientColor(Color color) |
void |
JoGLLight.setDiffuseColor(Color color) |
void |
JoGLLight.setSpecularColor(Color color) |
Modifier and Type | Method and Description |
---|---|
void |
JoGLTextureManager.draw(JoGLDrawingTools drawingTools,
Texture texture,
AnchorPosition anchor,
ElementsBuffer positions,
int offset,
int stride,
double rotationAngle,
Color auxColor,
ElementsBuffer colors) |
Modifier and Type | Method and Description |
---|---|
static void |
GLShortCuts.useColor(GL2 gl,
Color color)
Set the OpenGl context color to the given color.
|
static void |
G2DShortCuts.useColor(java.awt.Graphics2D g2d,
Color c)
Use the given color for drawing.
|
Modifier and Type | Method and 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 and 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 and Description |
---|---|
static Color |
RulerModel.DEFAULT_COLOR
Default color.
|
Modifier and Type | Method and Description |
---|---|
Color |
RulerModel.getColor()
Color getter.
|
Color |
DefaultRulerModel.getColor() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultRulerModel.setColor(Color color)
Ruler color setter.
|
Modifier and Type | Field and 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 and Description |
---|---|
Color |
Material.getAmbientColor() |
Color |
Material.getDiffuseColor() |
Color |
Appearance.getFillColor()
Return the fill color.
|
Color |
Appearance.getLineColor()
Return the line color.
|
Color |
Material.getSpecularColor() |
Modifier and Type | Method and Description |
---|---|
void |
Material.setAmbientColor(Color color) |
void |
Material.setDiffuseColor(Color color) |
void |
Appearance.setFillColor(Color fillColor)
Set the fill color.
|
void |
Appearance.setLineColor(Color lineColor)
Set the line color.
|
void |
Material.setSpecularColor(Color color) |
Constructor and Description |
---|
Color(Color c)
Copy constructor
|
Modifier and Type | Field and Description |
---|---|
static Color |
TextEntity.DEFAULT_TEXT_COLOR
The default text color.
|
Modifier and Type | Method and Description |
---|---|
Color |
TextEntity.getTextColor()
Return the text color.
|
Modifier and Type | Method and 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.
|