StrokeStyleProperties1 function
Returns a filled D2D1_STROKE_STYLE_PROPERTIES1 structure.
Syntax
D2D1_STROKE_STYLE_PROPERTIES1 StrokeStyleProperties1( D2D1_CAP_STYLE startCap = D2D1_CAP_STYLE_FLAT, D2D1_CAP_STYLE endCap = D2D1_CAP_STYLE_FLAT, D2D1_CAP_STYLE dashCap = D2D1_CAP_STYLE_FLAT, D2D1_LINE_JOIN lineJoin = D2D1_LINE_JOIN_MITER, FLOAT miterLimit = 10.0f, D2D1_DASH_STYLE dashStyle = D2D1_DASH_STYLE_SOLID, FLOAT dashOffset = 0.0f, D2D1_STROKE_TRANSFORM_TYPE transformType = D2D1_STROKE_TRANSFORM_TYPE_NORMAL );
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
|
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
|
Library |
|
|
DLL |
|