org.freehep.graphicsio.png
Class PNGGraphics2D
java.lang.Object
|
+--java.awt.Graphics
|
+--java.awt.Graphics2D
|
+--org.freehep.graphics2d.VectorGraphics
|
+--org.freehep.graphics2d.AbstractVectorGraphics
|
+--org.freehep.graphics2d.PixelGraphics2D
|
+--org.freehep.graphicsio.ImageGraphicsIO
|
+--org.freehep.graphicsio.png.PNGGraphics2D
- All Implemented Interfaces:
- VectorGraphicsConstants
- public class PNGGraphics2D
- extends ImageGraphicsIO
- Version:
- $Id: PNGGraphics2D.java,v 1.3 2002/09/04 21:59:57 duns Exp $
- Author:
- Mark Donszelmann
Fields inherited from interface org.freehep.graphics2d.VectorGraphicsConstants |
NUMBER_OF_HORIZ_ALIGNMENTS, NUMBER_OF_SYMBOLS, NUMBER_OF_VERTICAL_ALIGNMENTS, SYMBOL_BOX, SYMBOL_CIRCLE, SYMBOL_CROSS, SYMBOL_DIAMOND, SYMBOL_DN_TRIANGLE, SYMBOL_HLINE, SYMBOL_PLUS, SYMBOL_STAR, SYMBOL_UP_TRIANGLE, SYMBOL_VLINE, TEXT_BASELINE, TEXT_BOTTOM, TEXT_CENTER, TEXT_LEFT, TEXT_RIGHT, TEXT_TOP |
Methods inherited from class org.freehep.graphics2d.PixelGraphics2D |
addRenderingHints, clearRect, clearRect, clip, clipRect, clipRect, copyArea, createShape, dispose, draw, drawArc, drawGlyphVector, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawPolygon, drawPolygon, drawPolyline, drawRect, drawRenderableImage, drawRenderedImage, drawString, drawString, drawString, drawString, drawString, drawString, drawString, drawString, fill, fillAndDraw, fillArc, fillOval, fillPolygon, fillPolygon, fillRect, getClip, getClipBounds, getClipBounds, getComposite, getDeviceConfiguration, getFont, getFontMetrics, getFontRenderContext, getRenderingHint, getRenderingHints, getStroke, getTransform, hit, printComment, rotate, rotate, scale, setBackground, setClip, setClip, setClip, setColor, setComposite, setFont, setHostGraphics, setLineWidth, setPaint, setPaintMode, setRenderingHint, setRenderingHints, setStroke, setTransform, setXORMode, shear, toString, transform, translate, translate |
Methods inherited from class org.freehep.graphics2d.AbstractVectorGraphics |
createShape, drawArc, drawLine, drawOval, drawPolygon, drawPolyline, drawRect, drawRoundRect, drawRoundRect, drawString, drawString, drawSymbol, drawSymbol, fillArc, fillOval, fillPolygon, fillRect, fillRoundRect, fillRoundRect, fillSymbol, fillSymbol, getBackground, getColor, getColorMode, getCreator, getPaint, getPrintColor, isDeviceIndependent, setColorMode, setCreator, setDeviceIndependent, setLineWidth |
pngFilter
protected static int pngFilter
pngCompressionLevel
protected static int pngCompressionLevel
PNGGraphics2D
public PNGGraphics2D(File file,
Dimension size)
throws FileNotFoundException
PNGGraphics2D
public PNGGraphics2D(File file,
Component component)
throws FileNotFoundException
PNGGraphics2D
public PNGGraphics2D(OutputStream os,
Dimension size)
PNGGraphics2D
public PNGGraphics2D(OutputStream os,
Component component)
PNGGraphics2D
protected PNGGraphics2D(PNGGraphics2D graphics)
create
public Graphics create()
- Specified by:
create
in class ImageGraphicsIO
create
public Graphics create(double x,
double y,
double width,
double height)
- Specified by:
create
in class ImageGraphicsIO
write
public void write()
throws IOException
- Specified by:
write
in class ImageGraphicsIO
IOException
Copyright © 2000-2002 FreeHEP, All Rights Reserved.