D2D1_LINE_JOIN enumeration

Describes the shape that joins two lines or segments.

Syntax


typedef enum  { 
  D2D1_LINE_JOIN_MITER           = 0,
  D2D1_LINE_JOIN_BEVEL           = 1,
  D2D1_LINE_JOIN_ROUND           = 2,
  D2D1_LINE_JOIN_MITER_OR_BEVEL  = 3
} D2D1_LINE_JOIN;

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.

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]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1.h

 

 

Show: