public class SpanGroup
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
SpanGroup.TSpan
Wrapper for a tspan element and its rendered node.
|
| Constructor and Description |
|---|
SpanGroup(javafx.scene.Group textGroup)
Create a span group for a text group.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTSpan(ElementNode elementNode,
javafx.scene.Node node)
Add a tspan element wrapper.
|
java.util.List<SpanGroup.TSpan> |
getSpans()
Return the list of tspan wrappers.
|
javafx.scene.Group |
getTextGroup()
Return the underlying text group.
|
public SpanGroup(javafx.scene.Group textGroup)
textGroup - the text grouppublic javafx.scene.Group getTextGroup()
public java.util.List<SpanGroup.TSpan> getSpans()
public void addTSpan(ElementNode elementNode, javafx.scene.Node node)
elementNode - the tspan element nodenode - the JavaFX nodeCopyright © 2021, 2022, 2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence