iText 8.0.5 API
iText.Layout.Properties.BorderRadius Class Reference

Represents a border radius. More...

Public Member Functions

  BorderRadius (UnitValue radius)
  Creates a border radius with given value. More...
 
  BorderRadius (float radius)
  Creates a border radius with a given point value. More...
 
  BorderRadius (UnitValue horizontalRadius, UnitValue verticalRadius)
  Creates a border radius with given horizontal and vertical values. More...
 
  BorderRadius (float horizontalRadius, float verticalRadius)
  Creates a border radius with given horizontal and vertical point values. More...
 
virtual UnitValue  GetHorizontalRadius ()
  Gets the horizontal radius of the border's corner. More...
 
virtual UnitValue  GetVerticalRadius ()
  Gets the vertical radius of the border's corner. More...
 

Detailed Description

Represents a border radius.

Constructor & Destructor Documentation

◆ BorderRadius() [1/4]

iText.Layout.Properties.BorderRadius.BorderRadius ( UnitValue  radius )
inline

Creates a border radius with given value.

Parameters
radius the radius

◆ BorderRadius() [2/4]

iText.Layout.Properties.BorderRadius.BorderRadius ( float  radius )
inline

Creates a border radius with a given point value.

Parameters
radius the radius

◆ BorderRadius() [3/4]

iText.Layout.Properties.BorderRadius.BorderRadius ( UnitValue  horizontalRadius,
UnitValue  verticalRadius 
)
inline

Creates a border radius with given horizontal and vertical values.

Parameters
horizontalRadius the horizontal radius of the corner
verticalRadius the vertical radius of the corner

◆ BorderRadius() [4/4]

iText.Layout.Properties.BorderRadius.BorderRadius ( float  horizontalRadius,
float  verticalRadius 
)
inline

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

Parameters
horizontalRadius the horizontal radius of the corner
verticalRadius the vertical radius of the corner

Member Function Documentation

◆ GetHorizontalRadius()

virtual UnitValue iText.Layout.Properties.BorderRadius.GetHorizontalRadius ( )
inlinevirtual

Gets the horizontal radius of the border's corner.

Returns
the horizontal radius

◆ GetVerticalRadius()

virtual UnitValue iText.Layout.Properties.BorderRadius.GetVerticalRadius ( )
inlinevirtual

Gets the vertical radius of the border's corner.

Returns
the vertical radius