Fragment

Inheritance: java.lang.Object, com.aspose.pdf.comparison.sidebysidecomparison.Fragment

public class Fragment extends Object

Represents text fragment without extra spaces.

Constructors

ConstructorDescription
FragmentCreates an {@link Fragment} class instance.

Methods

MethodDescription
getRectGets and sets the rectangle area of fragment.
getTextGets 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