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.
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;
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps] |
Header | d2d1_1.h |