ID2D1StrokeStyle::GetDashStyle method

Gets a value that describes the stroke's dash pattern.

Syntax


virtual D2D1_DASH_STYLE GetDashStyle() const = 0;

Parameters

This method has no parameters.

Return value

Type: D2D1_DASH_STYLE

A value that describes the predefined dash pattern used, or D2D1_DASH_STYLE_CUSTOM if a custom dash style is used.

Remarks

If a custom dash style is specified, the dash pattern is described by the dashes array, which can be retrieved by calling the GetDashes method.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1.h

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1StrokeStyle

 

 

Show: