ID2D1SvgDocument::CreateStrokeDashArray method

Creates a dash array object which can be used to set the stroke-dasharray property.

Syntax


HRESULT CreateStrokeDashArray(
  [in, optional] const D2D1_SVG_LENGTH         *dashes,
                       UINT32                  dashesCount,
  [out]                ID2D1SvgStrokeDashArray **strokeDashArray
);

Parameters

dashes [in, optional]

Type: const D2D1_SVG_LENGTH*

An array of dashes.

dashesCount

Type: UINT32

Size of the array in th dashes argument.

strokeDashArray [out]

Type: ID2D1SvgStrokeDashArray**

The created ID2D1SvgStrokeDashArray.

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Requirements

Header

D2d1svg.h

DLL

Direct2d.dll

See also

ID2D1SvgDocument

 

 

Show: