D2D1_LINE_JOIN enumeration (d2d1.h)
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_MITER Value: 0 Regular angular vertices. |
D2D1_LINE_JOIN_BEVEL Value: 1 Beveled vertices. |
D2D1_LINE_JOIN_ROUND Value: 2 Rounded vertices. |
D2D1_LINE_JOIN_MITER_OR_BEVEL Value: 3 Regular angular vertices unless the join would extend beyond the miter limit; otherwise, beveled vertices. |
D2D1_LINE_JOIN_FORCE_DWORD Value: 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 |