D2D1_LINE_JOIN Enumeration

Describes the shape that joins two lines or segments.

Syntax

typedef enum D2D1_LINE_JOIN {
  D2D1_LINE_JOIN_MITER,
  D2D1_LINE_JOIN_BEVEL,
  D2D1_LINE_JOIN_ROUND,
  D2D1_LINE_JOIN_MITER_OR_BEVEL,
  D2D1_LINE_JOIN_FORCE_DWORD
} ;

Constants

D2D1_LINE_JOIN_MITER Regular angular vertices.
D2D1_LINE_JOIN_BEVEL Beveled vertices.
D2D1_LINE_JOIN_ROUND Rounded vertices.
D2D1_LINE_JOIN_MITER_OR_BEVEL Regular angular vertices unless the join would extend beyond the miter limit; otherwise, beveled vertices.
D2D1_LINE_JOIN_FORCE_DWORD

Remarks

A miter limit affects how sharp miter joins are allowed to be. If the line join style is D2D1_LINE_JOIN_MITER_OR_BEVEL, then the join will be mitered with regular angular vertices if it doesn't extend beyond the miter limit; otherwise, the line join will be beveled.

The following illustration shows different line join settings for the same stroked path geometry.

Illustration of line join settings

Requirements

   
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Header d2d1.h