Table of Contents

Method CreateStrokeStyle

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

CreateStrokeStyle(in StrokeStyleProperties, ReadOnlySpan<float>)

Creates an IStrokeStyle that describes start cap, dash pattern, and other features of a stroke.

IStrokeStyle CreateStrokeStyle(in StrokeStyleProperties strokeStyleProperties, ReadOnlySpan<float> dashes)

Parameters

strokeStyleProperties StrokeStyleProperties
dashes ReadOnlySpan<float>

Returns

IStrokeStyle