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 As System.Drawing.Point, _
ByVal As System.UInteger, _
ByVal As System.Single, _
ByVal As System.Single _
)
public virtual void DrawArc(
System.Drawing.Point ,
System.uint ,
System.float ,
System.float
)
パラメータ
- 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.
例外
参照