java.lang.Object
de.grogra.imp.awt.ViewComponentAdapter
de.grogra.imp.awt.CanvasAdapter
de.grogra.imp2d.AWTCanvas2D
- All Implemented Interfaces:
ViewComponent,ComponentWrapper,Selectable,Disposable,ImageObserver,Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.imp.awt.CanvasAdapter
CanvasAdapter.CanvasComponent -
Field Summary
FieldsFields inherited from class de.grogra.imp.awt.CanvasAdapter
antialiasing, IDENTITY, sceneBufferFields inherited from class de.grogra.imp.awt.ViewComponentAdapter
DISPOSED, DISPOSING, RENDER_OVERLAY, RENDER_OVERLAY_FINISHED, RENDERED_IMAGE, RENDERING, RENDERING_OVERLAY, REPAINT_MASKFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHFields inherited from interface de.grogra.imp.ViewComponent
ALL, CHANGED, MIN_USER_FLAG, SCENE, SELECTION, TOOLS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidintintintintintgetWidth()protected voidinitPaint(int flags, int width, int height) booleanisCurrentLayer(int layer) protected voidpaintHighlight(int flags, Graphics2D g) protected voidpaintScene(int flags, Graphics2D g) voidvoidMethods inherited from class de.grogra.imp.awt.CanvasAdapter
checkBuffers, getComponent, getGraphics, getObserverForRenderer, imageUpdate, initCanvas, initRender, initView, invokeRender, makeSnapshot, optionValueChanged, render, resetGraphicsTransform, setColor, setColor, setColor, setColor, setColor, writeEPSMethods inherited from class de.grogra.imp.awt.ViewComponentAdapter
checkRepaint, checkRepaintWrapException, dispose, disposeRenderer, disposeView, getColor, getColor, getDisplayResolution, getFactory, getFontMetrics, getGlobalLOD, getIntColor, getInterruptedException, getOption, getRenderGraphState, getView, initFactory, installListeners, invokeRenderSync, isRenderingOverlay, render, render, renderUninterruptibly, repaint, run, toSelection, uninstallListeners, updateResolution
-
Field Details
-
STROKE_1
-
STROKE_3
-
pool
-
-
Constructor Details
-
AWTCanvas2D
public AWTCanvas2D()
-
-
Method Details
-
getView2D
-
initPaint
protected void initPaint(int flags, int width, int height) - Specified by:
initPaintin classCanvasAdapter
-
paintScene
- Specified by:
paintScenein classCanvasAdapter
-
paintHighlight
- Specified by:
paintHighlightin classCanvasAdapter
-
finalizePaint
protected void finalizePaint() -
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getCurrentLayer
public int getCurrentLayer() -
getMinLayer
public int getMinLayer() -
getMaxLayer
public int getMaxLayer() -
isCurrentLayer
public boolean isCurrentLayer(int layer) -
setGraphicsTransform
-
draw
-
setColor
- Specified by:
setColorin classCanvasAdapter
-