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, getGraphicObject, manageHiddenAutomatically, registerDriver
flushUg, getClip, getColorMapper, getParam, getTranslateX, getTranslateY, isSpecialTxt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
draw, flushUg, getColorMapper, getParam, isSpecialTxt
public 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 UGraphic
apply
in class AbstractCommonUGraphic
protected AbstractCommonUGraphic copyUGraphic()
copyUGraphic
in class AbstractCommonUGraphic
public StringBounder getStringBounder()
getStringBounder
in interface UGraphic
protected void beforeDraw()
beforeDraw
in class AbstractUGraphic<Graphics2D>
protected final double getDpiFactor()
public void closeAction()
closeAction
in interface UGraphic
public void ensureVisible(double x, double y)
ensureVisible
in interface EnsureVisible
public BufferedImage getBufferedImage()
public void setBufferedImage(BufferedImage bufferedImage)
public Graphics2D getGraphics2D()
public void writeImageTOBEMOVED(OutputStream os, String metadata, int dpi) throws IOException
writeImageTOBEMOVED
in interface UGraphic2
IOException
Copyright © 2016. All Rights Reserved.