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
floatthe radius
BorderRadius(float, float)
Creates a border radius with given horizontal and vertical point values.
public BorderRadius(float horizontalRadius, float verticalRadius)
Parameters
horizontalRadius
floatthe horizontal radius of the corner
verticalRadius
floatthe vertical radius of the corner
BorderRadius(UnitValue)
Creates a border radius with given value.
public BorderRadius(UnitValue radius)
Parameters
radius
UnitValuethe radius
BorderRadius(UnitValue, UnitValue)
Creates a border radius with given horizontal and vertical values.
public BorderRadius(UnitValue horizontalRadius, UnitValue verticalRadius)
Parameters
horizontalRadius
UnitValuethe horizontal radius of the corner
verticalRadius
UnitValuethe 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