public interface G2DTarget extends RenderTarget
Users should usegetGraphics()
method for drawing.
G2D_TARGET, PDF_TARGET, SVG_TARGET
Modifier and Type | Method and Description |
---|---|
Graphics2D |
getGraphics()
Returns the current graphics object.
|
int |
getHeight() |
Image |
getImage() |
float |
getScaling() |
Vector |
getTranslate() |
int |
getWidth() |
void |
refresh()
Redraw the Processing canvas
|
void |
reset() |
void |
resize(int width,
int height) |
void |
setMoving(boolean moving) |
void |
setScaling(float scaling) |
Graphics2D getGraphics()
Image getImage()
int getWidth()
int getHeight()
void resize(int width, int height)
void setMoving(boolean moving)
Vector getTranslate()
float getScaling()
void setScaling(float scaling)
void reset()
void refresh()
Copyright © 2007–2015 Gephi Consortium. All rights reserved.