Inheritance: java.lang.Object, com.aspose.pdf.drawing.Shape com.aspose.pdf.drawing.Path, com.aspose.pdf.drawing.Shape, com.aspose.pdf.drawing.Path

All Implemented Interfaces: IBoundsCheckableItem

public final class Path extends Shape

Represents arc.

Constructors

ConstructorDescription
PathInitializes a new instance of the {@code Path} class.
PathInitializes a new instance of the {@code Path} class.

Methods

MethodDescription
checkBoundsChecks if the item fits within the given container dimensions (inclusive).
getShapes

Gets or sets shapes collection.

getShapesInternalGets or sets shapes collection.

Path

public Path()

Initializes a new instance of the {@code Path} class.

Path

Initializes a new instance of the {@code Path} class.

checkBounds

public boolean checkBounds(double containerWidth, double containerHeight)

Checks if the item fits within the given container dimensions (inclusive).

Parameters:

ParameterTypeDescription
containerWidth
containerHeight

Returns: True if fits; otherwise, false.

getShapes

public List < Shape > getShapes()

Gets or sets shapes collection.

Returns: {@code java.util.List }object

getShapesInternal

public com.aspose.ms.System.Collections.Generic.List< Shape > getShapesInternal()

Gets or sets shapes collection.

Returns: internal object