public class Painting
extends java.lang.Object
Graphics objects.| Constructor | Description |
|---|---|
Painting() |
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
drawTileOverlay(java.awt.Graphics graphics,
int x,
int y,
int zOffset,
int plane,
java.awt.Color outlineColor,
java.awt.Color fillColor,
float lineThickness) |
Draws a transparent polygon over a tile.
|
static boolean |
drawTileOverlayBox(java.awt.Graphics graphics,
int x,
int y,
int zOffset,
int plane,
int height,
java.awt.Color outlineColor,
java.awt.Color fillColor,
float lineThickness) |
Draws a transparent polygon box over a tile.
|
public static boolean drawTileOverlay(java.awt.Graphics graphics,
int x,
int y,
int zOffset,
int plane,
java.awt.Color outlineColor,
java.awt.Color fillColor,
float lineThickness)
graphics - Graphics object on which the overlay should be drawnx - center x coordinate of the tiley - center y coordinate of the tileplane - plane on which the tile existszOffset - offset on the z axis of the drawn polygonoutlineColor - color of the outline of the polygonfillColor - color of the inside of the polygonlineThickness - thickness of the line around the polygontrue if the overlay was drawn;
false otherwisepublic static boolean drawTileOverlayBox(java.awt.Graphics graphics,
int x,
int y,
int zOffset,
int plane,
int height,
java.awt.Color outlineColor,
java.awt.Color fillColor,
float lineThickness)
graphics - graphics object on which the overlay should be drawnx - center x coordinate of the tiley - center y coordinate of the tileheight - the height of the boxplane - plane on which the tile existszOffset - offset on the z axis of the drawn polygonoutlineColor - color of the outline of the polygonfillColor - color of the inside of the polygonlineThickness - thickness of the line around the polygontrue if the overlay was drawn;
false otherwise