GraphicsPath.AddPie メソッド (Rectangle, Single, Single)
パスに扇形のアウトラインを追加します。
Overloads Public Sub AddPie( _
ByVal rect As Rectangle, _ ByVal startAngle As Single, _ ByVal sweepAngle As Single _)
[C#]
public void AddPie(Rectanglerect,floatstartAngle,floatsweepAngle);
[C++]
public: void AddPie(Rectanglerect,floatstartAngle,floatsweepAngle);
[JScript]
public function AddPie(
rect : Rectangle,startAngle : float,sweepAngle : float);
パラメータ
- rect
扇形の描画元になる楕円を定義する外接する四角形を表す Rectangle 構造体。 - startAngle
x 軸から時計回りに測定した、扇型部分の開始角度。 - sweepAngle
startAngle から時計回りで測定した、 startAngle と扇型部分の終端との間の角度。
解説
扇形は、楕円のアウトラインの一部分と、その部分アウトラインの終点と交わる 2 本の半径によって定義されます。部分的なアウトラインは、x 軸から時計回りに測定した startAngle から始まり、 startAngle + sweepAngle で終了します。
使用例
例については、 GraphicsPath.AddPie Method (Int32, Int32, Int32, Int32, Single, Single) のトピックを参照してください。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
GraphicsPath クラス | GraphicsPath メンバ | System.Drawing.Drawing2D 名前空間 | GraphicsPath.AddPie オーバーロードの一覧