ID2D1SvgGlyphStyle::GetStroke method

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 = NULL,
  [out, optional] FLOAT      *dashes = NULL,
                  UINT32     dashesCount = 0,
  [out, optional] FLOAT      *dashOffset = NULL
);

Parameters

brush [out, optional]

Type: ID2D1Brush**

Describes how the stroke is painted.

strokeWidth [out, optional]

Type: FLOAT*

The 'context-value' for the 'stroke-width' property.

dashes [out, optional]

Type: FLOAT*

The 'context-value' for the 'stroke-dasharray' property.

dashesCount

Type: UINT32

The the number of dashes in the dash array.

dashOffset [out, optional]

Type: FLOAT*

The 'context-value' for the 'stroke-dashoffset' property.

Return value

This method does not return a value.

Requirements

Header

D2d1_3.h

DLL

D2d1.dll

See also

ID2D1SvgGlyphStyle

 

 

Show: