Table of Contents

Class BorderRadius

Namespace
iText.Layout.Properties
Assembly
itext.layout.dll

Represents a border radius.

public class BorderRadius
Inheritance
BorderRadius
Inherited Members

Constructors

BorderRadius(float)

Creates a border radius with a given point value.

public BorderRadius(float radius)

Parameters

radius float

the radius

BorderRadius(float, float)

Creates a border radius with given horizontal and vertical point values.

public BorderRadius(float horizontalRadius, float verticalRadius)

Parameters

horizontalRadius float

the horizontal radius of the corner

verticalRadius float

the vertical radius of the corner

BorderRadius(UnitValue)

Creates a border radius with given value.

public BorderRadius(UnitValue radius)

Parameters

radius UnitValue

the radius

BorderRadius(UnitValue, UnitValue)

Creates a border radius with given horizontal and vertical values.

public BorderRadius(UnitValue horizontalRadius, UnitValue verticalRadius)

Parameters

horizontalRadius UnitValue

the horizontal radius of the corner

verticalRadius UnitValue

the vertical radius of the corner

Methods

GetHorizontalRadius()

Gets the horizontal radius of the border's corner.

public virtual UnitValue GetHorizontalRadius()

Returns

UnitValue

the horizontal radius

GetVerticalRadius()

Gets the vertical radius of the border's corner.

public virtual UnitValue GetVerticalRadius()

Returns

UnitValue

the vertical radius