public class AbstractLayerDrawing
extends java.lang.Object
Constructor and Description |
---|
AbstractLayerDrawing(java.awt.Dimension sz)
Constructor creates an offscreen PixelDrawing object.
|
Modifier and Type | Method and Description |
---|---|
void |
databaseToScreen(double dbX,
double dbY,
java.awt.Point result)
Method to convert a database coordinate to screen coordinates.
|
void |
drawBox(long gridLX,
long gridLY,
long gridHX,
long gridHY,
ERaster raster)
Method to draw a box on the off-screen buffer.
|
void |
drawCross(long gridX,
long gridY,
int size,
ERaster raster) |
void |
drawLine(long gridX1,
long gridY1,
long gridX2,
long gridY2,
int texture,
ERaster raster)
Method to draw a line on the off-screen buffer.
|
void |
drawOval(int gridCenterX,
int gridCenterY,
int pixelRadius,
ERaster raster) |
public AbstractLayerDrawing(java.awt.Dimension sz)
sz
- the size of an offscreen PixelDrawinf object.public void drawBox(long gridLX, long gridLY, long gridHX, long gridHY, ERaster raster)
public void drawLine(long gridX1, long gridY1, long gridX2, long gridY2, int texture, ERaster raster)
public void drawCross(long gridX, long gridY, int size, ERaster raster)
public void drawOval(int gridCenterX, int gridCenterY, int pixelRadius, ERaster raster)
public void databaseToScreen(double dbX, double dbY, java.awt.Point result)
dbX
- the X coordinate (in database units).dbY
- the Y coordinate (in database units).result
- the Point in which to store the screen coordinates.