次の方法で共有


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

プロパティ値

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

注釈

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

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

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

依存関係プロパティ情報

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

適用対象