Package loci.poi.hssf.usermodel
Class DummyGraphics2d
java.lang.Object
java.awt.Graphics
java.awt.Graphics2D
loci.poi.hssf.usermodel.DummyGraphics2d
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRenderingHints(Map hints) voidclearRect(int x, int y, int width, int height) voidvoidclipRect(int x, int y, int width, int height) voidcopyArea(int x, int y, int width, int height, int dx, int dy) create()create(int x, int y, int width, int height) voiddispose()voidvoiddraw3DRect(int x, int y, int width, int height, boolean raised) voiddrawArc(int x, int y, int width, int height, int startAngle, int arcAngle) voiddrawBytes(byte[] data, int offset, int length, int x, int y) voiddrawChars(char[] data, int offset, int length, int x, int y) voiddrawGlyphVector(GlyphVector g, float x, float y) voiddrawImage(BufferedImage img, BufferedImageOp op, int x, int y) booleandrawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) booleandrawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) booleandrawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) booleandrawImage(Image img, int x, int y, int width, int height, ImageObserver observer) booleandrawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer) booleandrawImage(Image img, int x, int y, ImageObserver observer) booleandrawImage(Image img, AffineTransform xform, ImageObserver obs) voiddrawLine(int x1, int y1, int x2, int y2) voiddrawOval(int x, int y, int width, int height) voiddrawPolygon(int[] xPoints, int[] yPoints, int nPoints) voidvoiddrawPolyline(int[] xPoints, int[] yPoints, int nPoints) voiddrawRect(int x, int y, int width, int height) voiddrawRenderableImage(RenderableImage img, AffineTransform xform) voiddrawRenderedImage(RenderedImage img, AffineTransform xform) voiddrawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) voiddrawString(String s, float x, float y) voiddrawString(String str, int x, int y) voiddrawString(AttributedCharacterIterator iterator, float x, float y) voiddrawString(AttributedCharacterIterator iterator, int x, int y) voidvoidfill3DRect(int x, int y, int width, int height, boolean raised) voidfillArc(int x, int y, int width, int height, int startAngle, int arcAngle) voidfillOval(int x, int y, int width, int height) voidfillPolygon(int[] xPoints, int[] yPoints, int nPoints) voidvoidfillRect(int x, int y, int width, int height) voidfillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) voidfinalize()getClip()getColor()getFont()getPaint()getRenderingHint(RenderingHints.Key hintKey) booleanbooleanhitClip(int x, int y, int width, int height) voidrotate(double theta) voidrotate(double theta, double x, double y) voidscale(double sx, double sy) voidsetBackground(Color color) voidsetClip(int x, int y, int width, int height) voidvoidvoidsetComposite(Composite comp) voidvoidvoidvoidsetRenderingHint(RenderingHints.Key hintKey, Object hintValue) voidsetRenderingHints(Map hints) voidvoidvoidsetXORMode(Color c1) voidshear(double shx, double shy) toString()voidvoidtranslate(double tx, double ty) voidtranslate(int x, int y)
-
Constructor Details
-
DummyGraphics2d
public DummyGraphics2d()
-
-
Method Details
-
addRenderingHints
- Specified by:
addRenderingHintsin classGraphics2D
-
clip
- Specified by:
clipin classGraphics2D
-
draw
- Specified by:
drawin classGraphics2D
-
drawGlyphVector
- Specified by:
drawGlyphVectorin classGraphics2D
-
drawImage
- Specified by:
drawImagein classGraphics2D
-
drawImage
- Specified by:
drawImagein classGraphics2D
-
drawRenderableImage
- Specified by:
drawRenderableImagein classGraphics2D
-
drawRenderedImage
- Specified by:
drawRenderedImagein classGraphics2D
-
drawString
- Specified by:
drawStringin classGraphics2D
-
drawString
- Specified by:
drawStringin classGraphics2D
-
fill
- Specified by:
fillin classGraphics2D
-
getBackground
- Specified by:
getBackgroundin classGraphics2D
-
getComposite
- Specified by:
getCompositein classGraphics2D
-
getDeviceConfiguration
- Specified by:
getDeviceConfigurationin classGraphics2D
-
getFontRenderContext
- Specified by:
getFontRenderContextin classGraphics2D
-
getPaint
- Specified by:
getPaintin classGraphics2D
-
getRenderingHint
- Specified by:
getRenderingHintin classGraphics2D
-
getRenderingHints
- Specified by:
getRenderingHintsin classGraphics2D
-
getStroke
- Specified by:
getStrokein classGraphics2D
-
getTransform
- Specified by:
getTransformin classGraphics2D
-
hit
- Specified by:
hitin classGraphics2D
-
rotate
public void rotate(double theta) - Specified by:
rotatein classGraphics2D
-
rotate
public void rotate(double theta, double x, double y) - Specified by:
rotatein classGraphics2D
-
scale
public void scale(double sx, double sy) - Specified by:
scalein classGraphics2D
-
setBackground
- Specified by:
setBackgroundin classGraphics2D
-
setComposite
- Specified by:
setCompositein classGraphics2D
-
setPaint
- Specified by:
setPaintin classGraphics2D
-
setRenderingHint
- Specified by:
setRenderingHintin classGraphics2D
-
setRenderingHints
- Specified by:
setRenderingHintsin classGraphics2D
-
setStroke
- Specified by:
setStrokein classGraphics2D
-
setTransform
- Specified by:
setTransformin classGraphics2D
-
shear
public void shear(double shx, double shy) - Specified by:
shearin classGraphics2D
-
transform
- Specified by:
transformin classGraphics2D
-
translate
public void translate(double tx, double ty) - Specified by:
translatein classGraphics2D
-
clearRect
public void clearRect(int x, int y, int width, int height) -
clipRect
public void clipRect(int x, int y, int width, int height) -
copyArea
public void copyArea(int x, int y, int width, int height, int dx, int dy) -
create
-
create
-
dispose
public void dispose() -
draw3DRect
public void draw3DRect(int x, int y, int width, int height, boolean raised) - Overrides:
draw3DRectin classGraphics2D
-
drawArc
public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) -
drawBytes
public void drawBytes(byte[] data, int offset, int length, int x, int y) -
drawChars
public void drawChars(char[] data, int offset, int length, int x, int y) -
drawImage
public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) -
drawImage
public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) -
drawImage
-
drawImage
-
drawImage
public boolean drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) -
drawImage
-
drawLine
public void drawLine(int x1, int y1, int x2, int y2) -
drawOval
public void drawOval(int x, int y, int width, int height) -
drawPolygon
- Overrides:
drawPolygonin classGraphics
-
drawPolygon
public void drawPolygon(int[] xPoints, int[] yPoints, int nPoints) - Specified by:
drawPolygonin classGraphics
-
drawPolyline
public void drawPolyline(int[] xPoints, int[] yPoints, int nPoints) - Specified by:
drawPolylinein classGraphics
-
drawRect
public void drawRect(int x, int y, int width, int height) -
drawRoundRect
public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) - Specified by:
drawRoundRectin classGraphics
-
drawString
- Specified by:
drawStringin classGraphics2D
-
drawString
- Specified by:
drawStringin classGraphics2D
-
fill3DRect
public void fill3DRect(int x, int y, int width, int height, boolean raised) - Overrides:
fill3DRectin classGraphics2D
-
fillArc
public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) -
fillOval
public void fillOval(int x, int y, int width, int height) -
fillPolygon
- Overrides:
fillPolygonin classGraphics
-
fillPolygon
public void fillPolygon(int[] xPoints, int[] yPoints, int nPoints) - Specified by:
fillPolygonin classGraphics
-
fillRect
public void fillRect(int x, int y, int width, int height) -
fillRoundRect
public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) - Specified by:
fillRoundRectin classGraphics
-
finalize
public void finalize() -
getClip
-
getClipBounds
- Specified by:
getClipBoundsin classGraphics
-
getClipBounds
- Overrides:
getClipBoundsin classGraphics
-
getClipRect
- Overrides:
getClipRectin classGraphics
-
getColor
-
getFont
-
getFontMetrics
- Overrides:
getFontMetricsin classGraphics
-
getFontMetrics
- Specified by:
getFontMetricsin classGraphics
-
hitClip
public boolean hitClip(int x, int y, int width, int height) -
setClip
-
setClip
public void setClip(int x, int y, int width, int height) -
setColor
-
setFont
-
setPaintMode
public void setPaintMode()- Specified by:
setPaintModein classGraphics
-
setXORMode
- Specified by:
setXORModein classGraphics
-
toString
-
translate
public void translate(int x, int y) - Specified by:
translatein classGraphics2D
-