org.freehep.graphicsio.gif
Class GIFGraphics2D

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

public class GIFGraphics2D
extends ImageGraphics2D

Version:
$Id: GIFGraphics2D.java 9974 2006-11-26 22:00:48Z duns $
Author:
Mark Donszelmann

Field Summary
static java.lang.String QUANTIZE_COLORS
           
static java.lang.String QUANTIZE_MODE
           
static java.lang.String version
           
 
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(java.io.File file, java.awt.Component component)
           
GIFGraphics2D(java.io.File file, java.awt.Dimension size)
           
GIFGraphics2D(java.io.OutputStream os, java.awt.Component component)
           
GIFGraphics2D(java.io.OutputStream os, java.awt.Dimension size)
           
 
Method Summary
static java.util.Properties getDefaultProperties()
           
static void setDefaultProperties(java.util.Properties newProperties)
           
 
Methods inherited from class org.freehep.graphicsio.ImageGraphics2D
canWriteTransparent, canWriteUncompressed, closeStream, create, create, createBufferedImage, endExport, generateThumbnail, getDefaultProperties, getImageWriters, getPreferredImageWriter, getPreferredImageWriterForMIMEType, getRAWProperties, handleException, readImage, setProperties, startExport, toByteArray, 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, 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, drawString, 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, fill, 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 java.lang.String QUANTIZE_COLORS

QUANTIZE_MODE

public static final java.lang.String QUANTIZE_MODE

version

public static java.lang.String version
Constructor Detail

GIFGraphics2D

public GIFGraphics2D(java.io.File file,
                     java.awt.Dimension size)
              throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

GIFGraphics2D

public GIFGraphics2D(java.io.File file,
                     java.awt.Component component)
              throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

GIFGraphics2D

public GIFGraphics2D(java.io.OutputStream os,
                     java.awt.Dimension size)

GIFGraphics2D

public GIFGraphics2D(java.io.OutputStream os,
                     java.awt.Component component)
Method Detail

getDefaultProperties

public static java.util.Properties getDefaultProperties()

setDefaultProperties

public static void setDefaultProperties(java.util.Properties newProperties)


Copyright © 2000-2007 FreeHEP. All Rights Reserved.