ID2D1SvgGlyphStyle::GetStroke 方法 (d2d1_3.h)
返回请求的笔划参数。 任何非 null 参数都将接收所请求参数的值。
语法
void GetStroke(
[out, optional] ID2D1Brush **brush,
[out, optional] FLOAT *strokeWidth,
[out, optional] FLOAT *dashes,
UINT32 dashesCount,
[out, optional] FLOAT *dashOffset
);
参数
[out, optional] brush
类型: ID2D1Brush**
描述笔划的绘制方式。
[out, optional] strokeWidth
类型: FLOAT*
“stroke-width”属性的“context-value”。
[out, optional] dashes
类型: FLOAT*
“stroke-dasharray”属性的“context-value”。
dashesCount
类型: UINT32
短划线数组中的短划线数。
[out, optional] dashOffset
类型: FLOAT*
“stroke-dashoffset”属性的“context-value”。
返回值
无
要求
目标平台 | Windows |
标头 | d2d1_3.h |
DLL | D2d1.dll |
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈