public class FixedEpsGraphics2D
extends org.jibble.epsgraphics.EpsGraphics2D
This is a very slight modification of
org.jibble.epsgraphics.EpsGraphics2D
which addresses some (apparent?) bugs in that class.
The jibble library used to be GPL but is now released under a more
restrictive (and expensive) license, so applying a fix to the original
would be problematic.
Constructor and Description |
---|
FixedEpsGraphics2D(org.jibble.epsgraphics.EpsGraphics2D g2)
Clone constructor.
|
FixedEpsGraphics2D(String title,
OutputStream out,
int xmin,
int ymin,
int xmax,
int ymax)
Constructor with bounds.
|
Modifier and Type | Method and Description |
---|---|
Graphics |
create() |
void |
setClip(Shape clip) |
addRenderingHints, clearRect, clip, clipRect, close, copyArea, 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, finalize, flush, getAccurateTextMode, getBackground, getClip, getClipBounds, getClipBounds, getColor, getColorDepth, getComposite, getDeviceConfiguration, getFont, getFontMetrics, getFontMetrics, getFontRenderContext, getPaint, getRenderingHint, getRenderingHints, getStroke, getTransform, hit, hitClip, rotate, rotate, scale, setAccurateTextMode, setBackground, setClip, setColor, setColorDepth, setComposite, setFont, setPaint, setPaintMode, setRenderingHint, setRenderingHints, setStroke, setTransform, setXORMode, shear, toString, transform, translate, translate
getClipRect
public FixedEpsGraphics2D(String title, OutputStream out, int xmin, int ymin, int xmax, int ymax) throws IOException
title
- titleout
- output stream - must be closed to complete plottingxmin
- lower X bound for bounding boxymin
- lower Y bound for bounding boxxmax
- upper X bound for bounding boxymax
- upper Y bound for bounding boxIOException
public FixedEpsGraphics2D(org.jibble.epsgraphics.EpsGraphics2D g2)
g2
- instance to copyCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.