Input for WinForms
DrawArc(Point,UInt32,Single,Single) メソッド

C1.Win.Input.8 アセンブリ > C1.Framework.Drawing.Gdi.DeviceContexts 名前空間 > DeviceContext クラス > DrawArc メソッド : DrawArc(Point,UInt32,Single,Single) メソッド
A System.Drawing.Point specifies the center of the circle.
A uint specifies the radius of the circle. This value must be positive.
A float specifies the start angle, in degrees.
A float specifies the sweep angle, in degrees, relative to the starting angle.
Draws a line segment and an arc. The line segment is drawn from the position which is defined by radius and startAngle. The arc is drawn along the perimeter of a circle with the given radius and center. The length of the arc is defined by the given start and sweep angles.
シンタックス
'宣言
 
Public Overloads Overridable Sub DrawArc( _
   ByVal origin As System.Drawing.Point, _
   ByVal radius As System.UInteger, _
   ByVal startAngle As System.Single, _
   ByVal sweepAngle As System.Single _
) 
public virtual void DrawArc( 
   System.Drawing.Point origin,
   System.uint radius,
   System.float startAngle,
   System.float sweepAngle
)

パラメータ

origin
A System.Drawing.Point specifies the center of the circle.
radius
A uint specifies the radius of the circle. This value must be positive.
startAngle
A float specifies the start angle, in degrees.
sweepAngle
A float specifies the sweep angle, in degrees, relative to the starting angle.
例外
例外解説
Defines an exception class to handle the system error.
解説
The arc is drawn by constructing an imaginary circle around the specified center point with the specified radius. The starting point of the arc is determined by measuring counterclockwise from the x-axis of the circle by the number of degrees in the start angle. The ending point is similarly located by measuring counterclockwise from the starting point by the number of degrees in the sweep angle. If the sweep angle is greater than 360 degrees,the arc is swept multiple times.
参照

DeviceContext クラス
DeviceContext メンバ
オーバーロード一覧