net.sourceforge.plantuml.ugraphic.g2d
Class UGraphicG2d
java.lang.Object
net.sourceforge.plantuml.ugraphic.AbstractCommonUGraphic
net.sourceforge.plantuml.ugraphic.AbstractUGraphic<Graphics2D>
net.sourceforge.plantuml.ugraphic.g2d.UGraphicG2d
- All Implemented Interfaces:
- EnsureVisible, UGraphic
public class UGraphicG2d
- extends AbstractUGraphic<Graphics2D>
- implements EnsureVisible
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UGraphicG2d
public UGraphicG2d(ColorMapper colorMapper,
Graphics2D g2d,
double dpiFactor)
UGraphicG2d
public UGraphicG2d(ColorMapper colorMapper,
Graphics2D g2d,
double dpiFactor,
AffineTransform affineTransform)
apply
public UGraphic apply(UChange change)
- Specified by:
apply
in interface UGraphic
- Overrides:
apply
in class AbstractCommonUGraphic
copyUGraphic
protected AbstractCommonUGraphic copyUGraphic()
- Specified by:
copyUGraphic
in class AbstractCommonUGraphic
getStringBounder
public StringBounder getStringBounder()
- Specified by:
getStringBounder
in interface UGraphic
beforeDraw
protected void beforeDraw()
- Overrides:
beforeDraw
in class AbstractUGraphic<Graphics2D>
getDpiFactor
protected final double getDpiFactor()
startUrl
public void startUrl(Url url)
- Specified by:
startUrl
in interface UGraphic
closeAction
public void closeAction()
- Specified by:
closeAction
in interface UGraphic
ensureVisible
public void ensureVisible(double x,
double y)
- Specified by:
ensureVisible
in interface EnsureVisible
getBufferedImage
public BufferedImage getBufferedImage()
setBufferedImage
public void setBufferedImage(BufferedImage bufferedImage)
getGraphics2D
public Graphics2D getGraphics2D()
writeImage
public void writeImage(OutputStream os,
String metadata,
int dpi)
throws IOException
- Specified by:
writeImage
in interface UGraphic
- Throws:
IOException
Copyright © 2013. All Rights Reserved.