org.freehep.postscript.viewer
Class DebugTransformGraphics2D
java.lang.Object
java.awt.Graphics
java.awt.Graphics2D
org.freehep.postscript.viewer.DelegateGraphics2D
org.freehep.postscript.viewer.DebugTransformGraphics2D
public class DebugTransformGraphics2D
- extends DelegateGraphics2D
Prints out changes to the Transform
- Author:
- Mark Donszelmann (Mark.Donszelmann@gmail.com)
Method Summary |
void |
clip(Shape clip)
|
void |
clipRect(int x,
int y,
int width,
int height)
|
Graphics |
create()
|
Graphics |
create(int x,
int y,
int width,
int height)
|
void |
rotate(double theta)
|
void |
rotate(double theta,
double x,
double y)
|
void |
scale(double sx,
double sy)
|
void |
setClip(int x,
int y,
int width,
int height)
|
void |
setClip(Shape clip)
|
void |
setTransform(AffineTransform t)
|
void |
shear(double shx,
double shy)
|
void |
transform(AffineTransform t)
|
void |
translate(double tx,
double ty)
|
void |
translate(int x,
int y)
|
Methods inherited from class org.freehep.postscript.viewer.DelegateGraphics2D |
addRenderingHints, clearRect, copyArea, dispose, draw, draw3DRect, drawArc, drawBytes, drawChars, drawGlyphVector, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawPolygon, drawPolygon, drawPolyline, drawRect, drawRenderableImage, drawRenderedImage, drawRoundRect, drawString, drawString, drawString, drawString, fill, fill3DRect, fillArc, fillOval, fillPolygon, fillPolygon, fillRect, fillRoundRect, getBackground, getClip, getClipBounds, getClipBounds, getClipRect, getColor, getComposite, getDeviceConfiguration, getFont, getFontMetrics, getFontMetrics, getFontRenderContext, getPaint, getRenderingHint, getRenderingHints, getStroke, getTransform, hit, hitClip, setBackground, setColor, setComposite, setFont, setPaint, setPaintMode, setRenderingHint, setRenderingHints, setStroke, setXORMode, toString |
DebugTransformGraphics2D
public DebugTransformGraphics2D(Graphics2D graphics)
create
public Graphics create()
- Specified by:
create
in class DelegateGraphics2D
create
public Graphics create(int x,
int y,
int width,
int height)
- Specified by:
create
in class DelegateGraphics2D
setTransform
public void setTransform(AffineTransform t)
- Overrides:
setTransform
in class DelegateGraphics2D
transform
public void transform(AffineTransform t)
- Overrides:
transform
in class DelegateGraphics2D
scale
public void scale(double sx,
double sy)
- Overrides:
scale
in class DelegateGraphics2D
shear
public void shear(double shx,
double shy)
- Overrides:
shear
in class DelegateGraphics2D
translate
public void translate(int x,
int y)
- Overrides:
translate
in class DelegateGraphics2D
translate
public void translate(double tx,
double ty)
- Overrides:
translate
in class DelegateGraphics2D
setClip
public void setClip(int x,
int y,
int width,
int height)
- Overrides:
setClip
in class DelegateGraphics2D
setClip
public void setClip(Shape clip)
- Overrides:
setClip
in class DelegateGraphics2D
clip
public void clip(Shape clip)
- Overrides:
clip
in class DelegateGraphics2D
clipRect
public void clipRect(int x,
int y,
int width,
int height)
- Overrides:
clipRect
in class DelegateGraphics2D
rotate
public void rotate(double theta)
- Overrides:
rotate
in class DelegateGraphics2D
rotate
public void rotate(double theta,
double x,
double y)
- Overrides:
rotate
in class DelegateGraphics2D
Copyright © 2001-2009 FreeHEP. All Rights Reserved.