public class BorderRadius extends Object
| Constructor and Description |
|---|
BorderRadius(float radius)
Creates a
border radius with a given point value. |
BorderRadius(float horizontalRadius,
float verticalRadius)
Creates a
border radius with given horizontal and vertical point values. |
BorderRadius(UnitValue radius)
Creates a
border radius with given value. |
BorderRadius(UnitValue horizontalRadius,
UnitValue verticalRadius)
Creates a
border radius with given horizontal and vertical values. |
| Modifier and Type | Method and Description |
|---|---|
UnitValue |
getHorizontalRadius()
Gets the horizontal radius of the
border's corner. |
UnitValue |
getVerticalRadius()
Gets the vertical radius of the
border's corner. |
public BorderRadius(UnitValue radius)
border radius with given value.radius - the radiuspublic BorderRadius(float radius)
border radius with a given point value.radius - the radiuspublic BorderRadius(UnitValue horizontalRadius, UnitValue verticalRadius)
border radius with given horizontal and vertical values.horizontalRadius - the horizontal radius of the cornerverticalRadius - the vertical radius of the cornerpublic BorderRadius(float horizontalRadius,
float verticalRadius)
border radius with given horizontal and vertical point values.horizontalRadius - the horizontal radius of the cornerverticalRadius - the vertical radius of the cornerCopyright © 1998–2020 iText Group NV. All rights reserved.