FreeHEP API
Version current

org.freehep.graphicsio.gif
Class GIFGraphics2D

java.lang.Object
  extended byjava.awt.Graphics
      extended byjava.awt.Graphics2D
          extended byorg.freehep.graphics2d.VectorGraphics
              extended byorg.freehep.graphics2d.AbstractVectorGraphics
                  extended byorg.freehep.graphics2d.PixelGraphics2D
                      extended byorg.freehep.graphicsio.ImageGraphics2D
                          extended byorg.freehep.graphicsio.gif.GIFGraphics2D
All Implemented Interfaces:
VectorGraphicsConstants

public class GIFGraphics2D
extends ImageGraphics2D

Version:
$Id: GIFGraphics2D.java,v 1.7 2003/05/04 15:45:23 duns Exp $
Author:
Mark Donszelmann
Source Code:
GIFGraphics2D.java

Field Summary
static String QUANTIZE_COLORS
           
static String QUANTIZE_MODE
           
 
Fields inherited from class org.freehep.graphicsio.ImageGraphics2D
ANTIALIAS, ANTIALIAS_TEXT, BACKGROUND, BACKGROUND_COLOR, component, COMPRESS, COMPRESS_DESCRIPTION, COMPRESS_MODE, COMPRESS_QUALITY, format, image, os, PROGRESSIVE, TRANSPARENT
 
Fields inherited from class org.freehep.graphics2d.PixelGraphics2D
hostGraphics, KEY_SYMBOL_BLIT, lineWidth, resolution, tagHandler, VALUE_SYMBOL_BLIT_OFF, VALUE_SYMBOL_BLIT_ON
 
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)
           
GIFGraphics2D(OutputStream os, Component component)
           
GIFGraphics2D(OutputStream os, Dimension size)
           
 
Method Summary
static Properties getDefaultProperties()
           
static void setDefaultProperties(Properties newProperties)
           
 
Methods inherited from class org.freehep.graphicsio.ImageGraphics2D
canWriteTransparent, canWriteUncompressed, closeStream, create, create, createBufferedImage, endExport, generateThumbnail, getDefaultProperties, getPreferredImageWriter, getPreferredImageWriterForMIMEType, handleException, readImage, setProperties, startExport, write, writeImage, writeImage
 
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, drawSymbol, fill, fillAndDrawSymbol, fillArc, fillOval, fillPolygon, fillPolygon, fillRect, fillSymbol, getClip, getClipBounds, getClipBounds, getComposite, getDeviceConfiguration, getFontMetrics, getFontRenderContext, getRenderingHint, getRenderingHints, getStroke, getTransform, hit, isDisplayLocal, isDisplayX11, 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, fillAndDraw, fillAndDrawSymbol, fillArc, fillOval, fillPolygon, fillRect, fillRoundRect, fillRoundRect, fillSymbol, fillSymbol, getBackground, getColor, getColorMode, getCreator, getFont, getPaint, getPrintColor, getProperties, getProperty, getPropertyColor, getPropertyDimension, getPropertyDouble, getPropertyInsets, getPropertyInt, getPropertyRectangle, initProperties, isDeviceIndependent, isProperty, 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
 

Field Detail

QUANTIZE_COLORS

public static final String QUANTIZE_COLORS

QUANTIZE_MODE

public static final String QUANTIZE_MODE
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)
Method Detail

getDefaultProperties

public static Properties getDefaultProperties()

setDefaultProperties

public static void setDefaultProperties(Properties newProperties)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.