PdfRoundedRectangleElement Constructor

Initializes a new instance of the PdfRoundedRectangleElement class with the specified position, dimensions and corner radius

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public PdfRoundedRectangleElement(
	float x,
	float y,
	float width,
	float height,
	float cornerRadius
)

Parameters

x  Single
The X position from the top-left corner of the page in points
y  Single
The Y position from the top-left corner of the page in points
width  Single
The width of the rectangle in points
height  Single
The height of the rectangle in points
cornerRadius  Single
The radius applied uniformly to each of the four corners in points

See Also