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

NameTypeAccessDescription
HorizontaldoubleRead/WriteHow far along the top or bottom edge the curve starts.
VerticaldoubleRead/WriteHow far along the left or right edge the curve starts.
HorizontalIsFractionboolRead/WriteHorizontal is a fraction of the box’s width, not points.
VerticalIsFractionboolRead/WriteVertical is a fraction of the box’s height, not points.

Methods

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

See Also