PrintDocument for WinForms
GetRoundBorderClipping メソッド (RenderFragment)


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > RenderFragment クラス : GetRoundBorderClipping メソッド
The graphics to use.
Outer rectangle of borders.
Sizes of borders.
Whether to use GDI drawing.
OUT: clip path.
OUT: clip region.
Retures GraphicsPath object representing the rounded object's border, if border is not rounded returns nil.
シンタックス
'宣言
 
Protected Sub GetRoundBorderClipping( _
   ByVal graphics As System.Drawing.Graphics, _
   ByVal outerRect As System.Drawing.Rectangle, _
   ByVal borders As OffsetsI, _
   ByVal drawingFlags As DrawingFlagsEnum, _
   ByRef clipPath As System.Drawing.Drawing2D.GraphicsPath, _
   ByRef clipRegion 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 graphics,
   System.Drawing.Rectangle outerRect,
   OffsetsI borders,
   DrawingFlagsEnum drawingFlags,
   out System.Drawing.Drawing2D.GraphicsPath clipPath,
   out System.IntPtr clipRegion
)

パラメータ

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.
参照

RenderFragment クラス
RenderFragment メンバ