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
IDirect2DFactorystrokeStyleProperties
StrokeStyleProperties
Returns
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
IDirect2DFactorystartCap
CapStyleendCap
CapStyledashCap
CapStylelineJoin
LineJoinmiterLimit
floatdashStyle
DashStyledashOffset
floattransformType
StrokeTransformType
Returns
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
IDirect2DFactorystartCap
CapStyleendCap
CapStyledashCap
CapStylelineJoin
LineJoinmiterLimit
floatdashStyle
DashStyledashOffset
floatdashes
ReadOnlySpan<float>transformType
StrokeTransformType