Package com.itextpdf.layout.properties
Class BorderRadius
- java.lang.Object
-
- com.itextpdf.layout.properties.BorderRadius
-
public class BorderRadius extends java.lang.ObjectRepresents a border radius.
-
-
Field Summary
Fields Modifier and Type Field Description private UnitValuehorizontalRadiusThe horizontal semi-major axis of the ellipse to use for the border in that corner.private UnitValueverticalRadiusThe vertical semi-major axis of the ellipse to use for the border in that corner.
-
Constructor Summary
Constructors Constructor Description BorderRadius(float radius)Creates aborder radiuswith a given point value.BorderRadius(float horizontalRadius, float verticalRadius)Creates aborder radiuswith given horizontal and vertical point values.BorderRadius(UnitValue radius)Creates aborder radiuswith given value.BorderRadius(UnitValue horizontalRadius, UnitValue verticalRadius)Creates aborder radiuswith given horizontal and vertical values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnitValuegetHorizontalRadius()Gets the horizontal radius of theborder'scorner.UnitValuegetVerticalRadius()Gets the vertical radius of theborder'scorner.
-
-
-
Constructor Detail
-
BorderRadius
public BorderRadius(UnitValue radius)
Creates aborder radiuswith given value.- Parameters:
radius- the radius
-
BorderRadius
public BorderRadius(float radius)
Creates aborder radiuswith a given point value.- Parameters:
radius- the radius
-
BorderRadius
public BorderRadius(UnitValue horizontalRadius, UnitValue verticalRadius)
Creates aborder radiuswith 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 radiuswith given horizontal and vertical point values.- Parameters:
horizontalRadius- the horizontal radius of the cornerverticalRadius- the vertical radius of the corner
-
-