Represents segment of Pdf text.
The example demonstrates how to change text color and font size of the text with {@Code TextState} object of {@Code....the text with {@code TextState} object of {@code TextSegment} object...words, {@code TextSegment} objects are children of {@code TextFragment}...