Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Describes the shape that joins two lines or segments.
Syntax
typedef enum D2D1_LINE_JOIN {
  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_FORCE_DWORD = 0xffffffff
} ;
Constants
| D2D1_LINE_JOIN_MITERValue: 0 Regular angular vertices. | 
| D2D1_LINE_JOIN_BEVELValue: 1 Beveled vertices. | 
| D2D1_LINE_JOIN_ROUNDValue: 2 Rounded vertices. | 
| D2D1_LINE_JOIN_MITER_OR_BEVELValue: 3 Regular angular vertices unless the join would extend beyond the miter limit; otherwise, beveled vertices. | 
| D2D1_LINE_JOIN_FORCE_DWORDValue: 0xffffffff | 
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.
 
Requirements
| Requirement | Value | 
|---|---|
| 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 |