public class XDGFText extends Object
Constructor and Description |
---|
XDGFText(com.microsoft.schemas.office.visio.x2012.main.TextType text,
XDGFShape parent) |
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics2D graphics)
When calling this to draw text, it assumes graphics is set properly
to draw in the right style.
|
Path2D.Double |
getBoundsAsPath() |
Rectangle2D.Double |
getTextBounds()
These are in the shape coordinate system
|
Point2D.Double |
getTextCenter() |
String |
getTextContent() |
public XDGFText(com.microsoft.schemas.office.visio.x2012.main.TextType text, XDGFShape parent)
public String getTextContent()
public Rectangle2D.Double getTextBounds()
public Path2D.Double getBoundsAsPath()
public Point2D.Double getTextCenter()
public void draw(Graphics2D graphics)
Copyright 2019 The Apache Software Foundation or its licensors, as applicable.