Shape.StrokeLineJoin 屬性

定義

取得或設定 PenLineJoin 列舉值,這個值會指定用於 Shape 頂點的聯結類型。

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

屬性值

PenLineJoin 的其中一個列舉值。

範例

下列範例顯示圖形頂點所使用的數個不同聯結。

<Canvas Height="400" Width="400">


  <Polyline
    Points="10,110 60,10 110,110"
    Stroke="Black"
    StrokeThickness="4" />

  <Polyline
    Points="10,110 110,110 110,10"
    Stroke="Black"
    StrokeThickness="4"
    Canvas.Left="150" />


  </Canvas>

下圖顯示不同的線條聯結。

行聯結的範例。

備註

如果您在沒有頂點的專案上設定此屬性,例如在元素上 Line 設定此屬性,則不會有任何作用。

適用於

另請參閱