ArcSegment.Point 屬性

定義

取得或設定橢圓形弧線的端點。

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

屬性值

Point

弧線要繪製到的點。 預設值是 (0,0)。

備註

類別 ArcSegment 只會定義它所代表之弧線的目的地點;弧線的起點是 加入 的目前點 PathFigure ArcSegment

如果弧線段的起點和終點相同,則不會繪製任何弧線。

對於特定位置、大小和旋轉的大部分弧線,可以繪製四個不同的弧線; IsLargeArcSweepDirection 屬性會指出要使用的弧線。

在四個候選弧形掃掠中,兩個代表掃掠為 180 度或更大的大型弧線,而兩個代表掃掠 180 度或更小的較小弧線。 如果 為 IsLargeArc true ,則會選擇兩個較大的弧形掃掠之一;否則,如果 為 false ,則會選擇其中一個較小的弧形掃掠。 其餘兩個弧形候選項目會以不同的方向繪製: CounterclockwiseClockwise 。 屬性 SweepDirection 會指定要使用哪一個屬性。

下圖顯示數個橢圓形弧形,除了其 Point 設定之外相同。

具有不同 Point 設定的 ArcSegment
具有不同 Point 設定的數個 ArcSegment 物件

相依性屬性資訊

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

適用於