de.erichseifert.vectorgraphics2d
Class EMFGraphics2D
java.lang.Object
java.awt.Graphics
java.awt.Graphics2D
de.erichseifert.vectorgraphics2d.VectorGraphics2D
de.erichseifert.vectorgraphics2d.EMFGraphics2D
public class EMFGraphics2D
- extends VectorGraphics2D
Graphics2D
implementation that saves all operations to a string
in the Enhanced Meta File (EMF) format.
Constructor Summary |
EMFGraphics2D(double x,
double y,
double width,
double height)
Constructor that initializes a new EMFGraphics2D instance. |
Method Summary |
void |
drawPolygon(int[] xPoints,
int[] yPoints,
int nPoints)
|
void |
drawPolyline(int[] xPoints,
int[] yPoints,
int nPoints)
|
void |
fillPolygon(int[] xPoints,
int[] yPoints,
int nPoints)
|
void |
setClip(java.awt.Shape clip)
|
java.lang.String |
toString()
|
Methods inherited from class de.erichseifert.vectorgraphics2d.VectorGraphics2D |
addRenderingHints, clearRect, clip, clipRect, copyArea, create, dispose, draw, drawArc, drawGlyphVector, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawRect, drawRenderableImage, drawRenderedImage, drawRoundRect, drawString, drawString, drawString, drawString, fill, fillArc, fillOval, fillRect, fillRoundRect, getBackground, getBounds, getBytes, getClip, getClipBounds, getColor, getComposite, getDeviceConfiguration, getFont, getFontMetrics, getFontRenderContext, getFontRendering, getPaint, getRenderingHint, getRenderingHints, getStroke, getTransform, hit, rotate, rotate, scale, setBackground, setClip, setColor, setComposite, setFont, setFontRendering, setPaint, setPaintMode, setRenderingHint, setRenderingHints, setStroke, setTransform, setXORMode, shear, transform, translate, translate |
Methods inherited from class java.awt.Graphics2D |
draw3DRect, fill3DRect |
Methods inherited from class java.awt.Graphics |
create, drawBytes, drawChars, drawPolygon, fillPolygon, finalize, getClipBounds, getClipRect, getFontMetrics, hitClip |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EMFGraphics2D
public EMFGraphics2D(double x,
double y,
double width,
double height)
- Constructor that initializes a new
EMFGraphics2D
instance.
The document dimension must be specified as parameters.
drawPolygon
public void drawPolygon(int[] xPoints,
int[] yPoints,
int nPoints)
- Overrides:
drawPolygon
in class VectorGraphics2D
drawPolyline
public void drawPolyline(int[] xPoints,
int[] yPoints,
int nPoints)
- Overrides:
drawPolyline
in class VectorGraphics2D
fillPolygon
public void fillPolygon(int[] xPoints,
int[] yPoints,
int nPoints)
- Overrides:
fillPolygon
in class VectorGraphics2D
setClip
public void setClip(java.awt.Shape clip)
- Overrides:
setClip
in class VectorGraphics2D
toString
public java.lang.String toString()
- Overrides:
toString
in class VectorGraphics2D
Copyright © 2010. All Rights Reserved.