DrawingPath

Overview

DrawingPath is a class in Aspose.PDF FOSS for .NET. Inherits from: Shape.

A path shape composed of move, line, and curve segments.

This class provides 5 methods for working with DrawingPath objects in .NET programs. Available methods include: CheckBounds, Close, CurveTo, LineTo, MoveTo. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: GraphInfo, Text.

Properties

NameTypeAccessDescription
GraphInfoAspose.Pdf.GraphInfoRead/WriteGets or sets the graph info.
TextAspose.Pdf.Text.TextFragment?Read/WriteOptional text label rendered with the shape.

Methods

SignatureDescription
MoveTo(x: double, y: double)Calls MoveTo on this DrawingPath instance.
LineTo(x: double, y: double)Calls LineTo on this DrawingPath instance.
CurveTo(cx1: double, cy1: double, cx2: double, cy2: double, x: double, y: double)Calls CurveTo on this DrawingPath instance.
Close()Calls Close on this DrawingPath instance.
CheckBounds(containerWidth: double, containerHeight: double)Whether this shape lies within a containerWidth×containerHeight box anchored at the origin.

See Also