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.

适用于

另请参阅