Editar

Compartir vía


Shape.StrokeLineJoin Property

Definition

Gets or sets a PenLineJoin enumeration value that specifies the type of join that is used at the vertices of a 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

Property Value

One of the enumeration values for PenLineJoin

Examples

The following example shows several different joints used at the vertices of a shape.

<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>

The following illustration shows the different line joins.

Example of line joins.

Remarks

This property has no effect if you set it on an element that has no vertices, such as on a Line element.

Applies to

See also