Shape
Overview
Shape is a class in Aspose.PDF FOSS for .NET.
Base class for drawable shapes.
This class declares 1 method for Shape objects in .NET programs.
Available methods include: CheckBounds.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: GraphInfo, Text.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
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 |
|---|---|
CheckBounds(containerWidth: double, containerHeight: double) | Whether this shape lies within a containerWidth×containerHeight box anchored at the origin. |