Path
Overview
Path is a class in Aspose.PDF FOSS for .NET.
Inherits from: Shape.
A shape built out of OTHER shapes: the children’s outlines go into one path and that path is painted once, with this shape’s own GraphInfo.
This class declares 3 methods for Path objects in .NET programs.
Available methods include: CheckBounds, Path.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: GraphInfo, Shapes, Text.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Shapes | List<Shape> | Read/Write | The shapes whose outlines make up this path, in order. |
GraphInfo | Aspose.Pdf.GraphInfo | Read/Write | Gets or sets the drawing settings (line width, stroke and fill colours, dash pattern, opacity) used to paint the shape. |
Text | Aspose.Pdf.Text.TextFragment? | Read/Write | Optional text label rendered with the shape. |
Methods
| Signature | Description |
|---|---|
Path() | Calls Path on this Path instance. |
Path(shapes: Shape[]) | Calls Path(shapes) on this Path instance. |
CheckBounds(containerWidth: double, containerHeight: double) | True when every child fits the container. |