PathCreateRoundRect Method (Double, Double, Double, Double, Double, Double, Double, Double, Boolean)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Initializes a new instance of the Path class.

Namespace:  Apitron.PDF.Kit.FixedLayout.Content
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public static Path CreateRoundRect(
	double x,
	double y,
	double width,
	double height,
	double leftBottomRadius,
	double leftTopRadius,
	double rightBottomRadius,
	double rightTopRadius,
	bool clockwise = true
)

Parameters

x
Type: SystemDouble
X coordinate.
y
Type: SystemDouble
Y coordenate.
width
Type: SystemDouble
Width of the rect.
height
Type: SystemDouble
Height of the rect.
leftBottomRadius
Type: SystemDouble
Radius of the left-bottom corner.
leftTopRadius
Type: SystemDouble
Radius of the left-top corner.
rightBottomRadius
Type: SystemDouble
Radius of the right-bottom corner.
rightTopRadius
Type: SystemDouble
Radius of the right-top corner.
clockwise (Optional)
Type: SystemBoolean
Direction of the figure.

Return Value

Type: Path
The round rectangle path.
See Also

Reference