FreeHEP API
Version v1.1

org.freehep.graphicsio.gif
Class GIFGraphics2D

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.gif.GIFGraphics2D
All Implemented Interfaces:
VectorGraphicsConstants

public class GIFGraphics2D
extends ImageGraphicsIO

Version:
$Id: GIFGraphics2D.java,v 1.3 2002/09/04 21:59:56 duns Exp $
Author:
Mark Donszelmann

Field Summary
 
Fields inherited from class org.freehep.graphicsio.ImageGraphicsIO
image, os
 
Fields inherited from class org.freehep.graphics2d.PixelGraphics2D
hostGraphics, lineWidth, resolution, tagHandler
 
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
 
Constructor Summary
  GIFGraphics2D(File file, Component component)
           
  GIFGraphics2D(File file, Dimension size)
           
protected GIFGraphics2D(GIFGraphics2D graphics)
           
  GIFGraphics2D(OutputStream os, Component component)
           
  GIFGraphics2D(OutputStream os, Dimension size)
           
 
Method Summary
 Graphics create()
           
 Graphics create(double x, double y, double width, double height)
           
 boolean getInterlaced()
           
 void setInterlaced(boolean value)
           
 void write()
           
 
Methods inherited from class org.freehep.graphicsio.ImageGraphicsIO
closeStream, endExport, generateThumbnail, handleException, startExport
 
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
 
Methods inherited from class org.freehep.graphics2d.VectorGraphics
create, create, getSymbol, getTextAlignment, getXalignment, getYalignment
 
Methods inherited from class java.awt.Graphics2D
draw3DRect, fill3DRect
 
Methods inherited from class java.awt.Graphics
drawBytes, drawChars, finalize, getClipRect, getFontMetrics, hitClip
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GIFGraphics2D

public GIFGraphics2D(File file,
                     Dimension size)
              throws FileNotFoundException

GIFGraphics2D

public GIFGraphics2D(File file,
                     Component component)
              throws FileNotFoundException

GIFGraphics2D

public GIFGraphics2D(OutputStream os,
                     Dimension size)

GIFGraphics2D

public GIFGraphics2D(OutputStream os,
                     Component component)

GIFGraphics2D

protected GIFGraphics2D(GIFGraphics2D graphics)
Method Detail

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

setInterlaced

public void setInterlaced(boolean value)

getInterlaced

public boolean getInterlaced()

write

public void write()
           throws IOException
Specified by:
write in class ImageGraphicsIO
IOException

FreeHEP API
Version v1.1

Copyright © 2000-2002 FreeHEP, All Rights Reserved.