Fragment
Inheritance: java.lang.Object, com.aspose.pdf.comparison.sidebysidecomparison.Fragment
public class Fragment extends Object
Represents text fragment without extra spaces.
Constructors
| Constructor | Description |
|---|---|
| Fragment | Creates an {@link Fragment} class instance. |
Methods
| Method | Description |
|---|---|
| getRect | Gets and sets the rectangle area of fragment. |
| getText | Gets and sets the text of fragment. |
Fragment
Creates an {@link Fragment} class instance.
getRect
public final Rectangle getRect()
Gets and sets the rectangle area of fragment.
Returns: Rectangle instance
getText
public final String getText()
Gets and sets the text of fragment.
Returns: String value