public class UGraphicG2d extends AbstractUGraphic<Graphics2D> implements EnsureVisible, UGraphic2
| Constructor and Description |
|---|
UGraphicG2d(ColorMapper colorMapper,
Graphics2D g2d,
double dpiFactor) |
UGraphicG2d(ColorMapper colorMapper,
Graphics2D g2d,
double dpiFactor,
AffineTransformation affineTransform,
double dx,
double dy) |
| Modifier and Type | Method and Description |
|---|---|
UGraphic |
apply(UChange change) |
protected void |
beforeDraw() |
void |
closeAction() |
protected AbstractCommonUGraphic |
copyUGraphic() |
void |
ensureVisible(double x,
double y) |
Set<Url> |
getAllUrlsEncountered() |
BufferedImage |
getBufferedImage() |
protected double |
getDpiFactor() |
Graphics2D |
getGraphics2D() |
StringBounder |
getStringBounder() |
void |
setBufferedImage(BufferedImage bufferedImage) |
void |
startUrl(Url url) |
void |
writeImageTOBEMOVED(OutputStream os,
String metadata,
int dpi) |
afterDraw, draw, drawComment, getGraphicObject, manageHiddenAutomatically, registerDriverflushUg, getClip, getColorMapper, getParam, getTranslateX, getTranslateY, matchesPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdraw, flushUg, getColorMapper, getParam, matchesPropertypublic UGraphicG2d(ColorMapper colorMapper, Graphics2D g2d, double dpiFactor)
public UGraphicG2d(ColorMapper colorMapper, Graphics2D g2d, double dpiFactor, AffineTransformation affineTransform, double dx, double dy)
public UGraphic apply(UChange change)
apply in interface UGraphicapply in class AbstractCommonUGraphicprotected AbstractCommonUGraphic copyUGraphic()
copyUGraphic in class AbstractCommonUGraphicpublic StringBounder getStringBounder()
getStringBounder in interface UGraphicprotected void beforeDraw()
beforeDraw in class AbstractUGraphic<Graphics2D>protected final double getDpiFactor()
public void closeAction()
closeAction in interface UGraphicpublic void ensureVisible(double x,
double y)
ensureVisible in interface EnsureVisiblepublic BufferedImage getBufferedImage()
public void setBufferedImage(BufferedImage bufferedImage)
public Graphics2D getGraphics2D()
public void writeImageTOBEMOVED(OutputStream os, String metadata, int dpi) throws IOException
writeImageTOBEMOVED in interface UGraphic2IOExceptionCopyright © 2017. All rights reserved.