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 )上设置此属性,则此属性不起作用。

适用于

另请参阅