Package com.myscript.iink.text
Class TextSpan
java.lang.Object
com.myscript.iink.text.TextSpan
Describes glyphs spans in a label.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intThe begin position in a label of this span, in glyph (i.e.final intThe end position in a label of this span, in glyph (i.e.final @NotNull StyleThe style associated with this span. - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
beginPosition
public final int beginPositionThe begin position in a label of this span, in glyph (i.e. grapheme cluster) count. - 
endPosition
public final int endPositionThe end position in a label of this span, in glyph (i.e. grapheme cluster) count. - 
style
The style associated with this span. 
 - 
 - 
Constructor Details
- 
TextSpan
Constructor.- Parameters:
 beginPosition- begin index inside the spanendPosition- end index inside the spanstyle- the span style.
 
 - 
 - 
Method Details