korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-math
/
korlibs.math.geom.shape
/
toShape2D
to
Shape2D
fun
List
<
Shape2D
>
.
toShape2D
(
)
:
Shape2D
fun
Shape2D
.
toShape2D
(
)
:
Shape2D
fun
Line
.
toShape2D
(
)
:
LineShape2D
fun
Rectangle
.
toShape2D
(
)
:
RectangleShape2D
fun
Circle
.
toShape2D
(
)
:
CircleShape2D
fun
Ellipse
.
toShape2D
(
)
:
EllipseShape2D
fun
Polygon
.
toShape2D
(
)
:
PolygonShape2D
fun
Polyline
.
toShape2D
(
)
:
PolylineShape2D
fun
RoundRectangle
.
toShape2D
(
)
:
RoundRectangleShape2D
fun
<
T
:
SimpleShape2D
>
T
.
toShape2D
(
genVector
:
(
T
)
->
VectorPath
)
:
BaseShape2D
<
T
>
fun
PointList
.
toShape2D
(
closed
:
Boolean
=
true
)
:
Shape2D
fun
VectorPath
.
toShape2D
(
closed
:
Boolean
=
true
)
:
Shape2D