public interface ERaster
Modifier and Type | Method and Description |
---|---|
void |
copyBits(TransparentRaster src,
int minSrcX,
int maxSrcX,
int minSrcY,
int maxSrcY,
int dx,
int dy)
Method to copy bits from rectangle of source TransparentRaster to thus ERaster.
|
void |
drawHorLine(int y,
int lX,
int hX)
Method to draw a horizontal line [lX,hX] x [y].
|
void |
drawPoint(int x,
int y)
Method to draw a point.
|
void |
drawVerLine(int x,
int lY,
int hY)
Method to draw a vertical line [x] x [lY,hY].
|
void |
fillBox(int lX,
int hX,
int lY,
int hY)
Method to fill a box [lX,hX] x [lY,hY].
|
void |
fillHorLine(int y,
int lX,
int hX)
Method to fill a horizontal scanline [lX,hX] x [y].
|
void |
fillPoint(int x,
int y)
Method to fill a point.
|
void |
fillVerLine(int x,
int lY,
int hY)
Method to fill a vertical scanline [x] x [lY,hY].
|
EGraphics.Outline |
getOutline()
Method to return Electric Outline style for this ERaster.
|
void fillBox(int lX, int hX, int lY, int hY)
lX
- left X coordinatehX
- right X coordinatelY
- top Y coordinatehY
- bottom Y coordinatevoid fillHorLine(int y, int lX, int hX)
y
- Y coordinatelX
- left X coordinatehX
- right X coordinatevoid fillVerLine(int x, int lY, int hY)
x
- X coordinatelY
- top Y coordinatehY
- bottom Y coordinatevoid fillPoint(int x, int y)
x
- X coordinatey
- Y coordinatevoid drawHorLine(int y, int lX, int hX)
y
- Y coordinatelX
- left X coordinatehX
- right X coordinatevoid drawVerLine(int x, int lY, int hY)
x
- X coordinatelY
- top Y coordinatehY
- bottom Y coordinatevoid drawPoint(int x, int y)
x
- X coordinatey
- Y coordinateEGraphics.Outline getOutline()
void copyBits(TransparentRaster src, int minSrcX, int maxSrcX, int minSrcY, int maxSrcY, int dx, int dy)
src
- source TransparentRaster.minSrcX
- left bound of source rectangle (inclusive).maxSrcX
- right bound of source rectangle (inclusive).minSrcY
- top bound of source rectangle (inclusive).maxSrcY
- bottom bound of source rectangle (inclusive).dx
- the X translation factor from src space to dst space of the copy.dy
- the Y translation factor from src space to dst space of the copy.