ArcSegment.SweepDirection 屬性

定義

取得或設定值,指定是否在 ClockwiseCounterclockwise 方向繪製弧形。

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

備註

ArcSegment對於具有指定 SizeRotationAngle 、開始點和結尾 Point 的 ,可以有四個不同的弧線。 指定 IsLargeArc 屬性可將可能的弧線數目減少為兩個:從起點到終點的弧形方向,以及從起點到方向的終點 Clockwise Point Counterclockwise 繪製的弧線。

下圖顯示兩個橢圓弧線,除了其 SweepDirection 設定之外相同。

具有不同 SweepDirection 設定的 ArcSegment
具有不同 SweepDirection 設定的 ArcSegment 物件

相依性屬性資訊

識別碼欄位 SweepDirectionProperty
中繼資料屬性設定為 true

適用於