Class JaxoGraphics2D
java.lang.Object
java.awt.Graphics
java.awt.Graphics2D
net.sf.jaxodraw.util.graphics.JaxoWrapperGraphics2D
net.sf.jaxodraw.util.graphics.JaxoGraphics2D
- All Implemented Interfaces:
Cloneable
Graphic2Ds that also stores JaxoDraw-specific state and can
perform JaxoDraw-specific painting.
- Since:
- 2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIf printing is active, do not paint any UI-elements or aids.voidsetPrinting(boolean value) Sets whether printing is currently active.Methods inherited from class JaxoWrapperGraphics2D
addRenderingHints, clearRect, clip, clipRect, clone, copy, copyArea, create, create, dispose, draw, draw3DRect, drawArc, drawBytes, drawChars, drawGlyphVector, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawPolygon, drawPolygon, drawPolyline, drawRect, drawRenderableImage, drawRenderedImage, drawRoundRect, drawString, drawString, drawString, drawString, fill, fill3DRect, fillArc, fillOval, fillPolygon, fillPolygon, fillRect, fillRoundRect, getBackground, getClip, getClipBounds, getClipBounds, getColor, getComposite, getDeviceConfiguration, getFont, getFontMetrics, getFontMetrics, getFontRenderContext, getPaint, getRenderingHint, getRenderingHints, getStroke, getTransform, hit, hitClip, rotate, rotate, scale, setBackground, setClip, setClip, setColor, setComposite, setFont, setPaint, setPaintMode, setRenderingHint, setRenderingHints, setStroke, setTransform, setXORMode, shear, transform, translate, translateMethods inherited from class Graphics
finalize, getClipRect, toString
-
Constructor Details
-
JaxoGraphics2D
-
-
Method Details
-
isPrinting
public final boolean isPrinting()If printing is active, do not paint any UI-elements or aids.- Returns:
- True if printing is active.
-
setPrinting
public void setPrinting(boolean value) Sets whether printing is currently active.- Parameters:
value- True if printing is active.
-