MultiSelect for WinForms
PaintChord メソッド

C1.Win.Input.6 アセンブリ > C1.Framework.Drawing.Gdi.DeviceContexts 名前空間 > DeviceContext クラス : PaintChord メソッド
A System.Drawing.Rectangle indicates the bounds of the ellipse.
A System.Drawing.Point indicates the endpoint of the first radial.
A System.Drawing.Point indicates the endpoint of the second radial.
Paints a chord (a region bounded by the intersection of an ellipse and a line segment, called a secant). The chord is outlined by using the current pen and filled by using the current brush.
シンタックス
'宣言
 
Public Overridable Sub PaintChord( _
   ByVal rectangle As System.Drawing.Rectangle, _
   ByVal firstRadial As System.Drawing.Point, _
   ByVal secondRadial As System.Drawing.Point _
) 
public virtual void PaintChord( 
   System.Drawing.Rectangle rectangle,
   System.Drawing.Point firstRadial,
   System.Drawing.Point secondRadial
)

パラメータ

rectangle
A System.Drawing.Rectangle indicates the bounds of the ellipse.
firstRadial
A System.Drawing.Point indicates the endpoint of the first radial.
secondRadial
A System.Drawing.Point indicates the endpoint of the second radial.
例外
例外解説
Defines an exception class to handle the system error.
解説

The curve of the chord is defined by an ellipse that fits the specified bounding rectangle. The curve begins at the point where the ellipse intersects the first radial and extends counterclockwise to the point where the ellipse intersects the second radial. The chord is closed by drawing a line from the intersection of the first radial and the curve to the intersection of the second radial and the curve.

If the starting point and ending point of the curve are the same, a complete ellipse is drawn.

参照

DeviceContext クラス
DeviceContext メンバ