Modifier and Type | Field and Description |
---|---|
(package private) RectBounds |
bounds |
(package private) Node |
node |
Constructor and Description |
---|
EmbeddedSpan(Node node,
double baseline,
double width,
double height) |
Modifier and Type | Method and Description |
---|---|
RectBounds |
getBounds()
The bounds for embedded object, only used the font returns null.
|
java.lang.Object |
getFont()
The font for the span, if null the span is handled as embedded object.
|
Node |
getNode() |
java.lang.String |
getText()
The text for the span, can be empty but not null.
|
RectBounds bounds
Node node
public EmbeddedSpan(Node node, double baseline, double width, double height)
public java.lang.String getText()
TextSpan
public java.lang.Object getFont()
TextSpan
public RectBounds getBounds()
TextSpan
public Node getNode()