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.

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