Path

Overview

Path is a class in Aspose.PDF FOSS for Java. Inherits from: Shape.

Represents a composite path made up of child {@link Shape} elements.

This class provides 7 methods for working with Path objects in Java programs. Available methods include: Path, checkBounds, getGraphInfo, getShapes, getText, setGraphInfo, setText. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: graphInfo, shapes, text.

Properties

NameTypeAccessDescription
shapesList<Shape>ReadGets the list of child shapes in this path.
graphInfoGraphInfoReadGets the graphic styling properties for this shape.
textStringReadGets the optional text label associated with this shape.

Methods

SignatureDescription
Path()Creates a new empty path.
getShapes()List<Shape>Gets the list of child shapes in this path.
checkBounds(width: double, height: double){@inheritDoc}

Checks bounds for all child shapes in this path. | | `getGraphInfo()` → `GraphInfo` | Gets the graphic styling properties for this shape. | | `setGraphInfo(graphInfo: GraphInfo)` | Sets the graphic styling properties for this shape. | | `getText()` → `String` | Gets the optional text label associated with this shape. | | `setText(text: String)` | Sets the optional text label associated with this shape. |

See Also

 English