Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the requested stroke parameters. Any parameters that are non-null will receive the value of the requested parameter.
Syntax
void GetStroke(
[out, optional] ID2D1Brush **brush,
[out, optional] FLOAT *strokeWidth,
[out, optional] FLOAT *dashes,
UINT32 dashesCount,
[out, optional] FLOAT *dashOffset
);
Parameters
[out, optional] brush
Type: ID2D1Brush**
Describes how the stroke is painted.
[out, optional] strokeWidth
Type: FLOAT*
The 'context-value' for the 'stroke-width' property.
[out, optional] dashes
Type: FLOAT*
The 'context-value' for the 'stroke-dasharray' property.
dashesCount
Type: UINT32
The number of dashes in the dash array.
[out, optional] dashOffset
Type: FLOAT*
The 'context-value' for the 'stroke-dashoffset' property.
Return value
None
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d2d1_3.h |
DLL | D2d1.dll |