Package com.itextpdf.layout.properties
Class BorderRadius
java.lang.Object
com.itextpdf.layout.properties.BorderRadius
Represents a border radius.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBorderRadius
(float radius) Creates aborder radius
with a given point value.BorderRadius
(float horizontalRadius, float verticalRadius) Creates aborder radius
with given horizontal and vertical point values.BorderRadius
(UnitValue radius) Creates aborder radius
with given value.BorderRadius
(UnitValue horizontalRadius, UnitValue verticalRadius) Creates aborder radius
with given horizontal and vertical values. -
Method Summary
-
Field Details
-
horizontalRadius
The horizontal semi-major axis of the ellipse to use for the border in that corner. -
verticalRadius
The vertical semi-major axis of the ellipse to use for the border in that corner.
-
-
Constructor Details
-
BorderRadius
Creates aborder radius
with given value.- Parameters:
radius
- the radius
-
BorderRadius
public BorderRadius(float radius) Creates aborder radius
with a given point value.- Parameters:
radius
- the radius
-
BorderRadius
Creates aborder radius
with given horizontal and vertical values.- Parameters:
horizontalRadius
- the horizontal radius of the cornerverticalRadius
- the vertical radius of the corner
-
BorderRadius
public BorderRadius(float horizontalRadius, float verticalRadius) Creates aborder radius
with given horizontal and vertical point values.- Parameters:
horizontalRadius
- the horizontal radius of the cornerverticalRadius
- the vertical radius of the corner
-
-
Method Details