SubPath

Inheritance: java.lang.Object, com.aspose.pdf.vector.GraphicElement

public final class SubPath extends GraphicElement

Represents vector graphics object on the page. Basically, vector graphics objects are represented by two groups of SubPaths. One of them is represented by a set of lines and curves. Others are presented as rectangles and can sometimes be confused. Usually it is a rectangular area that has a color, but very often this rectangle is placed at the beginning of the page and defines the entire space of the page in white. So you get the SubPath, but visually you only see the text on the page.

Methods

MethodDescription
getRectangle()

getRectangle()

public Rectangle getRectangle()

Gets the bounding rectangle of the GraphicElement.

Returns: Rectangle