public final class TextInstance
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TextInstance.TextLocationType
Enum type indicating what kind of location in the model associated text appeared in.
|
Modifier and Type | Method and Description |
---|---|
TextInstance.TextLocationType |
getLocationType()
Retrieves the type of TextLocationType associated with the text.
|
Shape |
getShape()
Gets the shape associated with the text.
|
java.lang.String |
getText()
Retrieves the text content of the TextInstance.
|
Trait |
getTrait()
Gets the trait associated with the text.
|
java.util.List<java.lang.String> |
getTraitPropertyPath()
Gets the ordered path components within a trait's value the text is associated with.
|
public TextInstance.TextLocationType getLocationType()
public java.lang.String getText()
public Shape getShape()
public Trait getTrait()
public java.util.List<java.lang.String> getTraitPropertyPath()