Table of Contents

Method CreateStrokeStyle

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

CreateStrokeStyle(IDirect2DFactory, in StrokeStyleProperties)

public static IStrokeStyle CreateStrokeStyle(this IDirect2DFactory factory, in StrokeStyleProperties strokeStyleProperties)

Parameters

factory IDirect2DFactory
strokeStyleProperties StrokeStyleProperties

Returns

IStrokeStyle

CreateStrokeStyle(IDirect2DFactory, CapStyle, CapStyle, CapStyle, LineJoin, float, DashStyle, float, StrokeTransformType)

public static IStrokeStyle CreateStrokeStyle(this IDirect2DFactory factory, CapStyle startCap, CapStyle endCap, CapStyle dashCap, LineJoin lineJoin, float miterLimit, DashStyle dashStyle, float dashOffset, StrokeTransformType transformType)

Parameters

factory IDirect2DFactory
startCap CapStyle
endCap CapStyle
dashCap CapStyle
lineJoin LineJoin
miterLimit float
dashStyle DashStyle
dashOffset float
transformType StrokeTransformType

Returns

IStrokeStyle

CreateStrokeStyle(IDirect2DFactory, CapStyle, CapStyle, CapStyle, LineJoin, float, DashStyle, float, ReadOnlySpan<float>, StrokeTransformType)

public static IStrokeStyle CreateStrokeStyle(this IDirect2DFactory factory, CapStyle startCap, CapStyle endCap, CapStyle dashCap, LineJoin lineJoin, float miterLimit, DashStyle dashStyle, float dashOffset, ReadOnlySpan<float> dashes, StrokeTransformType transformType)

Parameters

factory IDirect2DFactory
startCap CapStyle
endCap CapStyle
dashCap CapStyle
lineJoin LineJoin
miterLimit float
dashStyle DashStyle
dashOffset float
dashes ReadOnlySpan<float>
transformType StrokeTransformType

Returns

IStrokeStyle