toggle menu
GeoKJSON
common
switch theme
search in API
geojson
/
io.github.elcolto.geokjson.geojson.dsl
/
PolygonDsl
Polygon
Dsl
class
PolygonDsl
(
coordinates
:
MutableList
<
List
<
Position
>
>
=
mutableListOf()
)
:
GeometryDsl
<
Polygon
>
Members
Constructors
Polygon
Dsl
Link copied to clipboard
constructor
(
coordinates
:
MutableList
<
List
<
Position
>
>
=
mutableListOf()
)
Types
Ring
Dsl
Link copied to clipboard
inner
class
RingDsl
(
points
:
MutableList
<
Position
>
=
mutableListOf()
)
Functions
create
Link copied to clipboard
open
override
fun
create
(
)
:
Polygon
ring
Link copied to clipboard
fun
ring
(
block
:
PolygonDsl.RingDsl
.
(
)
->
Unit
)