korlibs-image
Toggle table of contents
6.1.0
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs-image
korlibs-image
/
korlibs.image.vector
/
toStrokeShape
to
Stroke
Shape
fun
VectorPath
.
toStrokeShape
(
paint
:
Paint
,
info
:
StrokeInfo
=
StrokeInfo()
)
:
Shape
fun
VectorPath
.
toStrokeShape
(
paint
:
Paint
,
thickness
:
Double
=
1.0
,
pixelHinting
:
Boolean
=
false
,
scaleMode
:
LineScaleMode
=
LineScaleMode.NORMAL
,
startCap
:
LineCap
=
LineCap.BUTT
,
endCap
:
LineCap
=
LineCap.BUTT
,
lineJoin
:
LineJoin
=
LineJoin.MITER
,
miterLimit
:
Double
=
20.0
)
:
Shape