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)
getStringBounder
public StringBounder getStringBounder()
- Specified by:
getStringBounder
in interface UGraphic
setClip
public void setClip(UClip uclip)
- Specified by:
setClip
in interface UGraphic
centerChar
public void centerChar(double x,
double y,
char c,
UFont font)
- Specified by:
centerChar
in interface UGraphic
getDpiFactor
protected final double getDpiFactor()
setAntiAliasing
public void setAntiAliasing(boolean trueForOn)
- Specified by:
setAntiAliasing
in interface UGraphic
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()
Copyright © 2013. All Rights Reserved.