|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
manage redraw of FIG objects on a FigCanvas.
The FigDrawable interface specifies the methods that all FigObjects must implement in order to be drawn to a FigCanvas.
Method Summary | |
FigBbox |
get_sc_bbox()
get the bounding box of this object, screen coords (current FigTrafo2D) |
FigBbox |
getBbox()
get the bounding box of this object, world coords |
boolean |
getSyncRedrawFlag()
is a sync redraw pending on this object? |
boolean |
isVisible(FigBbox bbox)
is this object visible within the given FigBbox? |
void |
paint(java.awt.Graphics g)
paint this object using a default transformation and Graphics g |
void |
paint(java.awt.Graphics g,
FigTrafo2D trafo)
paint this object using the specified transformation and Graphics g |
void |
setSyncRedrawFlag(boolean b)
set or reset whether this objects needs a sync redraw |
void |
setTrafo(FigTrafo2D trafo)
set a transformation for this object |
Method Detail |
public void paint(java.awt.Graphics g)
public void paint(java.awt.Graphics g, FigTrafo2D trafo)
public void setTrafo(FigTrafo2D trafo)
public boolean isVisible(FigBbox bbox)
public FigBbox getBbox()
public FigBbox get_sc_bbox()
public boolean getSyncRedrawFlag()
public void setSyncRedrawFlag(boolean b)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |