Package net.sf.jaxodraw.util.graphics
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 boolean
If printing is active, do not paint any UI-elements or aids.void
setPrinting
(boolean value) Sets whether printing is currently active.Methods inherited from class net.sf.jaxodraw.util.graphics.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, translate
Methods inherited from class java.awt.Graphics
finalize, getClipRect, toString
-
Constructor Details
-
JaxoGraphics2D
Constructor.- Parameters:
g
- The Graphics2D object.
-
-
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.
-