[]
        
(Showing Draft Content)

C1.C1Preview.RenderFragment.GetRoundBorderClipping

GetRoundBorderClipping Method

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

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 nint clipRegion)
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.

nint clipRegion

OUT: clip region.