Retures GraphicsPath object representing the rounded object's border, if border is not rounded returns nil.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
protected void GetRoundBorderClipping(
	Graphics graphics,
	Rectangle outerRect,
	OffsetsI borders,
	DrawingFlagsEnum drawingFlags,
	out GraphicsPath clipPath,
	out IntPtr clipRegion
)
Visual Basic
Protected Sub GetRoundBorderClipping ( _
	graphics As Graphics, _
	outerRect As Rectangle, _
	borders As OffsetsI, _
	drawingFlags As DrawingFlagsEnum, _
	<OutAttribute> ByRef clipPath As GraphicsPath, _
	<OutAttribute> ByRef clipRegion As IntPtr _
)

Parameters

graphics
Type: System.Drawing..::..Graphics
The graphics to use.
outerRect
Type: System.Drawing..::..Rectangle
Outer rectangle of borders.
borders
Type: C1.C1Preview..::..OffsetsI
Sizes of borders.
drawingFlags
Type: DrawingFlagsEnum
Whether to use GDI drawing.
clipPath
Type: System.Drawing.Drawing2D..::..GraphicsPath%
OUT: clip path.
clipRegion
Type: System..::..IntPtr%
OUT: clip region.

See Also