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 2021 The Apache Software Foundation or its licensors, as applicable.