Constructor and Description |
---|
WordInfo(SentenceInfo sentenceInfo,
int wordIndex) |
Modifier and Type | Method and Description |
---|---|
SyllableInfo |
firstSyl() |
java.lang.Object |
getBaseProperty(java.lang.String key) |
int |
getCurveWidth() |
float |
getMaxD() |
float |
getMinD() |
SentenceInfo |
getSentenceInfo() |
SyllableInfo[] |
getSyllables() |
int |
getWordIndex() |
boolean |
hasSyllables() |
SyllableInfo |
lastSyl() |
SyllableInfo |
nearestSylForOffset(int offset) |
void |
setCurveWidth(int curveWidth) |
int |
sylCount() |
SyllableInfo |
sylForOffset(int offset) |
SyllableInfo |
syllableInfo(int sylIndex) |
compareTo, contains, getLabel, getProperties, getProperty, getWidth, getX, setLabel, setProperty, setWidth, setX
public WordInfo(SentenceInfo sentenceInfo, int wordIndex)
public java.lang.Object getBaseProperty(java.lang.String key)
public SentenceInfo getSentenceInfo()
public int sylCount()
public boolean hasSyllables()
public int getWordIndex()
public SyllableInfo[] getSyllables()
public float getMinD()
public float getMaxD()
public SyllableInfo syllableInfo(int sylIndex)
public int getCurveWidth()
public void setCurveWidth(int curveWidth)
curveWidth
- the curveWidth to setpublic SyllableInfo firstSyl()
public SyllableInfo lastSyl()
public SyllableInfo sylForOffset(int offset)
public SyllableInfo nearestSylForOffset(int offset)