D2D1_STROKE_STYLE_PROPERTIES1 structure

Describes the stroke that outlines a shape.

Syntax


typedef struct D2D1_STROKE_STYLE_PROPERTIES1 {
  D2D1_CAP_STYLE             startCap;
  D2D1_CAP_STYLE             endCap;
  D2D1_CAP_STYLE             dashCap;
  D2D1_LINE_JOIN             lineJoin;
  FLOAT                      miterLimit;
  D2D1_DASH_STYLE            dashStyle;
  FLOAT                      dashOffset;
  D2D1_STROKE_TRANSFORM_TYPE transformType;
} D2D1_STROKE_STYLE_PROPERTIES1, *PD2D1_STROKE_STYLE_PROPERTIES1;

Members

startCap

Type: D2D1_CAP_STYLE

The cap to use at the start of each open figure.

endCap

Type: D2D1_CAP_STYLE

The cap to use at the end of each open figure.

dashCap

Type: D2D1_CAP_STYLE

The cap to use at the start and end of each dash.

lineJoin

Type: D2D1_LINE_JOIN

The line join to use.

miterLimit

Type: FLOAT

The limit beyond which miters are either clamped or converted to bevels.

dashStyle

Type: D2D1_DASH_STYLE

The type of dash to use.

dashOffset

Type: FLOAT

The location of the first dash, relative to the start of the figure.

transformType

Type: D2D1_STROKE_TRANSFORM_TYPE

The rule that determines what render target properties affect the nib of the stroke.

Remarks

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

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

Header

D2D1_1.h

Type library

D2D1.lib

See also

ID2D1Factory1::CreateStrokeStyle
ID2D1StrokeStyle1

 

 

Show: