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

NameTypeAccessDescription
ShapesList<Shape>Read/WriteThe shapes whose outlines make up this path, in order.
GraphInfoAspose.Pdf.GraphInfoRead/WriteGets or sets the drawing settings (line width, stroke and fill colours, dash pattern, opacity) used to paint the shape.
TextAspose.Pdf.Text.TextFragment?Read/WriteOptional text label rendered with the shape.

Methods

SignatureDescription
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.

See Also