StrokeStyleProperties1 function (d2d1_1helper.h)

Returns a filled D2D1_STROKE_STYLE_PROPERTIES1 structure.

Syntax

D2D1_STROKE_STYLE_PROPERTIES1 StrokeStyleProperties1(
  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
);

Parameters

startCap

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

endCap

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

dashCap

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

lineJoin

The line join to use.

miterLimit

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

dashStyle

The type of dash to use.

dashOffset

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

transformType

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

Return value

Describes the stroke that outlines a shape.

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]
Target Platform Windows
Header d2d1_1helper.h
Library D2d1.lib
DLL D2d1.dll