PenLineJoin 列舉

定義

描述聯結兩個線條或線段的形狀。Describes the shape that joins two lines or segments.

public enum class PenLineJoin
public enum PenLineJoin
type PenLineJoin = 
Public Enum PenLineJoin
繼承
PenLineJoin

欄位

Bevel 1

斜切角頂點。Beveled vertices.

Miter 0

標準角頂點。Regular angular vertices.

Round 2

圓角頂點。Rounded vertices.

範例

下列範例顯示在圖形的頂點上使用的數個不同接點。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.

適用於

另請參閱