[]
        
(Showing Draft Content)

C1.C1Preview.RenderFragment.GetRoundBorderClipping

GetRoundBorderClipping Method

GetRoundBorderClipping(Graphics, Rectangle, OffsetsI, DrawingFlagsEnum, out GraphicsPath, out IntPtr)

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

Declaration
protected void GetRoundBorderClipping(Graphics graphics, Rectangle outerRect, OffsetsI borders, DrawingFlagsEnum drawingFlags, out GraphicsPath clipPath, out IntPtr clipRegion)
Protected Sub GetRoundBorderClipping(graphics As Graphics, outerRect As Rectangle, borders As OffsetsI, drawingFlags As DrawingFlagsEnum, ByRef clipPath As GraphicsPath, ByRef clipRegion As IntPtr)
Parameters
Type Name Description
Graphics graphics

The graphics to use.

Rectangle outerRect

Outer rectangle of borders.

OffsetsI borders

Sizes of borders.

DrawingFlagsEnum drawingFlags

Whether to use GDI drawing.

GraphicsPath clipPath

OUT: clip path.

IntPtr clipRegion

OUT: clip region.