XPS_LINE_JOIN enumeration (xpsobjectmodel.h)

Describes the joint made by two intersecting line segments.

Syntax

typedef enum __MIDL___MIDL_itf_xpsobjectmodel_0000_0000_0007 {
  XPS_LINE_JOIN_MITER = 1,
  XPS_LINE_JOIN_BEVEL,
  XPS_LINE_JOIN_ROUND
} XPS_LINE_JOIN;

Constants

 
XPS_LINE_JOIN_MITER
Value: 1
Produces a sharp or clipped corner, depending on whether the length of the miter exceeds the miter limit.
XPS_LINE_JOIN_BEVEL
Produces a diagonal corner.
XPS_LINE_JOIN_ROUND
Produces a smooth, circular arc between the lines.

Remarks

In the illustration that follows, the shaded area at the vertex of the line segments in each example shows how the joint fill is determined by the value of XPS_LINE_JOIN.

A diagram that shows examples of the different XPS_LINE_JOIN values

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 xpsobjectmodel.h

See also

XML Paper Specification