public interface GCanvasInterface
| Modifier and Type | Method and Description |
|---|---|
void |
add(Component comp,
double x,
double y) |
void |
add(Component comp,
GPoint pt) |
void |
add(GObject gobj) |
void |
add(GObject gobj,
double x,
double y) |
void |
add(GObject gobj,
GPoint pt) |
void |
clear() |
Color |
getBackground() |
<T extends GObject> |
getElement(int index) |
<T extends GObject> |
getElementAt(double... coords) |
<T extends GObject> |
getElementAt(double x,
double y) |
<T extends GObject> |
getElementAt(GPoint pt) |
int |
getElementCount() |
Font |
getFont() |
int |
getHeight() |
Dimension |
getSize() |
int |
getWidth() |
boolean |
hasElementAt(double... coords) |
boolean |
hasElementAt(double x,
double y) |
boolean |
isAntiAliasing() |
Iterator<GObject> |
iterator() |
Iterator<GObject> |
iterator(int direction) |
void |
remove(double x,
double y) |
void |
remove(GObject gobj) |
void |
remove(GPoint pt) |
void |
removeAll() |
void |
removeAll(double... coords) |
void |
removeAll(double x,
double y) |
void |
removeAll(GPoint pt) |
void |
repaint() |
void |
setAntiAliasing(boolean antialias) |
void |
setBackground(Color bg) |
void |
setFont(Font font) |
void |
setShowPixelInfo(boolean show) |
void |
setSize(Dimension size) |
BufferedImage |
toImage() |
void add(GObject gobj)
void add(GObject gobj, double x, double y)
void add(Component comp, double x, double y)
void clear()
Color getBackground()
int getElementCount()
Font getFont()
<T extends GObject> T getElement(int index)
<T extends GObject> T getElementAt(double x, double y)
<T extends GObject> T getElementAt(double... coords)
int getHeight()
Dimension getSize()
int getWidth()
boolean hasElementAt(double x,
double y)
boolean hasElementAt(double... coords)
boolean isAntiAliasing()
void remove(double x,
double y)
void remove(GPoint pt)
void remove(GObject gobj)
void removeAll()
void removeAll(double x,
double y)
void removeAll(double... coords)
void removeAll(GPoint pt)
void repaint()
void setAntiAliasing(boolean antialias)
void setBackground(Color bg)
void setFont(Font font)
void setSize(Dimension size)
void setShowPixelInfo(boolean show)
BufferedImage toImage()