CornerRadius
Overview
CornerRadius is a class in Aspose.PDF FOSS for .NET.
How far one corner of a box is rounded: the corner is a quarter of an ellipse Horizontal wide and Vertical tall.
This class declares 2 methods for CornerRadius objects in .NET programs.
Available methods include: CornerRadius.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: Horizontal, HorizontalIsFraction, Vertical, VerticalIsFraction.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Horizontal | double | Read/Write | How far along the top or bottom edge the curve starts. |
Vertical | double | Read/Write | How far along the left or right edge the curve starts. |
HorizontalIsFraction | bool | Read/Write | Horizontal is a fraction of the box’s width, not points. |
VerticalIsFraction | bool | Read/Write | Vertical is a fraction of the box’s height, not points. |
Methods
| Signature | Description |
|---|---|
CornerRadius(radius: double) | A corner rounded to a circle of radius points. |
CornerRadius(horizontal: double, vertical: double) | A corner rounded to an ellipse of the two reaches, in points. |