public interface PrimitiveGCInterface
Modifier and Type | Interface and Description |
---|---|
static class |
PrimitiveGCInterface.EColor |
static class |
PrimitiveGCInterface.EFont |
static class |
PrimitiveGCInterface.EImage |
static class |
PrimitiveGCInterface.ELineStyle |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
drawImage(BufferedImage image,
int x,
int y) |
void |
drawImage(PrimitiveGCInterface.EImage image,
int x,
int y) |
void |
drawLine(int x,
int y,
int x2,
int y2) |
void |
drawPoint(int x,
int y) |
void |
drawPolygon(int[] polygon) |
void |
drawPolyline(int[] polyline) |
void |
drawRectangle(int x,
int y,
int width,
int height) |
void |
drawRoundRectangle(int x,
int y,
int width,
int height,
int circleWidth,
int circleHeight) |
void |
drawText(String text,
int x,
int y) |
void |
drawText(String text,
int x,
int y,
boolean transparent) |
void |
fillGradientRectangle(int x,
int y,
int width,
int height,
boolean vertical) |
void |
fillPolygon(int[] polygon) |
void |
fillRectangle(int x,
int y,
int width,
int height) |
void |
fillRoundRectangle(int x,
int y,
int width,
int height,
int circleWidth,
int circleHeight) |
int |
getAlpha() |
Point |
getArea() |
Point |
getDeviceBounds() |
Object |
getImage() |
Point |
getImageBounds(PrimitiveGCInterface.EImage eImage) |
void |
setAlpha(int alpha) |
void |
setAntialias(boolean antiAlias) |
void |
setBackground(int red,
int green,
int blue) |
void |
setBackground(PrimitiveGCInterface.EColor color) |
void |
setFont(PrimitiveGCInterface.EFont font) |
void |
setFont(String fontName,
int fontSize,
boolean fontBold,
boolean fontItalic) |
void |
setForeground(int red,
int green,
int blue) |
void |
setForeground(PrimitiveGCInterface.EColor color) |
void |
setLineStyle(PrimitiveGCInterface.ELineStyle lineStyle) |
void |
setLineWidth(int width) |
void |
setTransform(float translationX,
float translationY,
int shadowsize,
float magnification) |
void |
switchForegroundBackgroundColors() |
Point |
textExtent(String text) |
void setLineWidth(int width)
void setFont(PrimitiveGCInterface.EFont font)
Point getDeviceBounds()
void setBackground(PrimitiveGCInterface.EColor color)
void setForeground(PrimitiveGCInterface.EColor color)
void setBackground(int red, int green, int blue)
void setForeground(int red, int green, int blue)
void fillRectangle(int x, int y, int width, int height)
void fillGradientRectangle(int x, int y, int width, int height, boolean vertical)
void drawImage(PrimitiveGCInterface.EImage image, int x, int y)
void drawImage(BufferedImage image, int x, int y)
void drawLine(int x, int y, int x2, int y2)
void setLineStyle(PrimitiveGCInterface.ELineStyle lineStyle)
void drawRectangle(int x, int y, int width, int height)
void drawPoint(int x, int y)
void drawText(String text, int x, int y)
void drawText(String text, int x, int y, boolean transparent)
void fillRoundRectangle(int x, int y, int width, int height, int circleWidth, int circleHeight)
void drawRoundRectangle(int x, int y, int width, int height, int circleWidth, int circleHeight)
void fillPolygon(int[] polygon)
void drawPolygon(int[] polygon)
void drawPolyline(int[] polyline)
void setAntialias(boolean antiAlias)
void setTransform(float translationX, float translationY, int shadowsize, float magnification)
void setAlpha(int alpha)
void dispose()
int getAlpha()
void setFont(String fontName, int fontSize, boolean fontBold, boolean fontItalic)
Object getImage()
Point getImageBounds(PrimitiveGCInterface.EImage eImage)
void switchForegroundBackgroundColors()
Point getArea()