commonMain.korlibs.math.geom.Polyline.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of korma-jvm Show documentation
Show all versions of korma-jvm Show documentation
Mathematic library for Multiplatform Kotlin 1.3
The newest version!
package korlibs.math.geom
import korlibs.math.geom.shape.*
import korlibs.math.geom.vector.*
data class Polyline(val points: PointList) : AbstractShape2D() {
override val lazyVectorPath: VectorPath by lazy { buildVectorPath { polygon(points, close = false) } }
}