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