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

另请参阅

ID2D1SvgGlyphStyle