Home

Awesome

Clipper2KotlinMP

A Kotlin Multiplatform (jvm, js, native), based on Clipper2-java, a java v1.1.0 of Clipper2.

Later updated are following the C# changes of Clipper2

Added Clipper32 because Int performance is much better (1,5x - 10x) (with Kotlin) in JS

Usage

todo

Overview

The interface of Clipper2-kotlin-mpp is based on the original C# version/ java version. As JsExport constructor and method overloading is not supported JsNames were provided for these methods

The Clipper class provides static methods for clipping, path-offsetting, minkowski-sums and path simplification. For more complex clipping operations (e.g. when clipping open paths or when outputs are expected to include polygons nested within holes of others), use the Clipper64 or ClipperD classes directly.

Maven

Clipper2KotlinMP is currently NOT available as Maven/Gradle artifact.

Example

Port Info