Package com.snowtide.pdf.layout
Interface Word
-
- All Superinterfaces:
OutputSource
,Span
public interface Word extends Span
AWord
Span
is a contiguous run of characters (TextUnit
s) within a singleLine
. Note that "word" here should not be inferred to carry any specific linguistic meaning: aWord
is only indicative of character adjacency (i.e. no intervening whitespace), not the result of any kind of natural language analysis. Thus, a line of text like this:she picked........the flower
contains 3 "Word
"s (the second beingpicked......the
).- Since:
- v4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Direction
direction()
Returns the direction of the text flow within thisWord
.int
len()
Returns a count of how manyTextUnit
s are within thisWord
.int
start()
-
Methods inherited from interface com.snowtide.pdf.OutputSource
pipe, pipe
-
-