|
Spec-Zone .ru
спецификации, руководства, описания, API
|
private static class TextFlow.EmbeddedSpan
extends java.lang.Object
implements com.sun.javafx.scene.text.TextSpan
| Constructor and Description |
|---|
TextFlow.EmbeddedSpan(Node node,
double baseline,
double width,
double height) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.javafx.geom.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.
|
public TextFlow.EmbeddedSpan(Node node, double baseline, double width, double height)
public java.lang.String getText()
com.sun.javafx.scene.text.TextSpangetText in interface com.sun.javafx.scene.text.TextSpanpublic java.lang.Object getFont()
com.sun.javafx.scene.text.TextSpangetFont in interface com.sun.javafx.scene.text.TextSpanpublic com.sun.javafx.geom.RectBounds getBounds()
com.sun.javafx.scene.text.TextSpangetBounds in interface com.sun.javafx.scene.text.TextSpanpublic Node getNode()
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to .