public class FragmentWithSpaces extends Fragment
Represents text fragments with extra spaces. Rect changed to take into account spaces.
| Constructor and Description |
|---|
FragmentWithSpaces(TextFragment textFragment,
boolean lineBreakNeeded)
Creates an
Fragment class instance. |
FragmentWithSpaces(TextFragment textFragment,
int spaceCount,
double spacesWidth)
Creates an
Fragment class instance. |
public FragmentWithSpaces(TextFragment textFragment, boolean lineBreakNeeded)
Creates an Fragment class instance.
textFragment - The text fragment.lineBreakNeeded - Needs to insert a line break at the end of the fragment text.public FragmentWithSpaces(TextFragment textFragment, int spaceCount, double spacesWidth)
Creates an Fragment class instance.
textFragment - The text fragment.spaceCount - The count of additional spaces.spacesWidth - The width of space.Copyright © 2025 Aspose. All Rights Reserved.