Retures GraphicsPath object representing the rounded object's border, if border is not rounded returns nil.
シンタックス
'宣言
Protected Sub GetRoundBorderClipping( _
ByVal As System.Drawing.Graphics, _
ByVal As System.Drawing.Rectangle, _
ByVal As OffsetsI, _
ByVal As DrawingFlagsEnum, _
ByRef As System.Drawing.Drawing2D.GraphicsPath, _
ByRef As System.IntPtr _
)
'使用法
Dim instance As RenderFragment
Dim graphics As System.Drawing.Graphics
Dim outerRect As System.Drawing.Rectangle
Dim borders As OffsetsI
Dim drawingFlags As DrawingFlagsEnum
Dim clipPath As System.Drawing.Drawing2D.GraphicsPath
Dim clipRegion As System.IntPtr
instance.GetRoundBorderClipping(graphics, outerRect, borders, drawingFlags, clipPath, clipRegion)
protected void GetRoundBorderClipping(
System.Drawing.Graphics ,
System.Drawing.Rectangle ,
OffsetsI ,
DrawingFlagsEnum ,
out System.Drawing.Drawing2D.GraphicsPath ,
out System.IntPtr
)
パラメータ
- graphics
- The graphics to use.
- outerRect
- Outer rectangle of borders.
- borders
- Sizes of borders.
- drawingFlags
- Whether to use GDI drawing.
- clipPath
- OUT: clip path.
- clipRegion
- OUT: clip region.
参照