Input for WinForms
CreateRoundedRectangleRegion メソッド

C1.Win.Input.8 アセンブリ > C1.Framework.Drawing.Gdi 名前空間 > Region クラス : CreateRoundedRectangleRegion メソッド
A System.Drawing.Rectangle structure that defines the interior of the new Region object.
Specifies the width of the ellipse used to create the rounded corners in logical units.
Specifies the height of the ellipse used to create the rounded corners in logical units.
Creates a rectangular Region with rounded corners.
シンタックス
'宣言
 
Public Shared Function CreateRoundedRectangleRegion( _
   ByVal rectangle As System.Drawing.Rectangle, _
   ByVal ellipseWidth As System.Integer, _
   ByVal ellipseHeight As System.Integer _
) As Region
public static Region CreateRoundedRectangleRegion( 
   System.Drawing.Rectangle rectangle,
   System.int ellipseWidth,
   System.int ellipseHeight
)

パラメータ

rectangle
A System.Drawing.Rectangle structure that defines the interior of the new Region object.
ellipseWidth
Specifies the width of the ellipse used to create the rounded corners in logical units.
ellipseHeight
Specifies the height of the ellipse used to create the rounded corners in logical units.

戻り値の型

A Region indicates the region with rounded corners.
参照

Region クラス
Region メンバ