ArcSegment.SweepDirection プロパティ

定義

円弧が Clockwise または Counterclockwise のどちらの方向で描画されるかを指定する値を取得または設定します。

public:
 property System::Windows::Media::SweepDirection SweepDirection { System::Windows::Media::SweepDirection get(); void set(System::Windows::Media::SweepDirection value); };
public System.Windows.Media.SweepDirection SweepDirection { get; set; }
member this.SweepDirection : System.Windows.Media.SweepDirection with get, set
Public Property SweepDirection As SweepDirection

プロパティ値

SweepDirection

円弧が描画される方向を指定する値。 既定値は Counterclockwise です。

注釈

指定SizeされたArcSegment、始点、RotationAngle終点Pointを持つ場合は、4 つの異なる円弧を使用できます。 プロパティを指定するとIsLargeArc、可能な円弧の数が 2 に減ります。始点から終点PointClockwiseまでの方向に描画される円弧と、始点から終点までの方向にCounterclockwise描画される円弧です。

次の図は、設定以外は同じ 2 つの楕円円弧を SweepDirection 示しています。

SweepDirection の設定が異なる ArcSegment
さまざまな SweepDirection 設定を持つ ArcSegment オブジェクト

依存プロパティ情報

識別子フィールド SweepDirectionProperty
に設定されたメタデータ プロパティ true なし

適用対象