A group of text fragments that belong together.
The essence of a TextFragment is that it spans only a small
section of text. As such it may be necessary to group fragments
together. For example take the following PDF drawing instruction
[ (There) 400 (was) 400 (Eru,) 300 (the One) ]
This sequence wiill write out the text "There was Eru, the One".
There are no space characters here and the spacing is indicated by
character placement (the numbers) instead.
the phrase "was Eru" will result in two TextFragments the first of
which will correspond to "was" and the second to "Eru". The two
properties are not connected because there is a 400 wide gap
between them. Also there is no space character so simply
concatenating the text in the fragments would result in
Using the TextOperation.Group
method will group them into one TextGroup with the Text "was Eru" (space inserted) and a
Rect corresponding to the
complete selected phrase.