Π·Π΅ΡΠΊΠ°Π»ΠΎ ΠΈΠ· https://github.com/SixLabors/Shapes.git
5b40554926 | ||
---|---|---|
icons | ||
src | ||
tests | ||
.editorconfig | ||
.gitignore | ||
APACHE-2.0-LICENSE.txt | ||
LICENSE | ||
README.md | ||
SixLabors.Shapes.ruleset | ||
SixLabors.Shapes.sln | ||
SixLabors.Shapes.sln.DotSettings | ||
appveyor.yml | ||
build.cmd | ||
codecov.yml | ||
gitversion.yml | ||
global.json |
README.md
SixLabors.Shapes
SixLabors.Shapes is a new cross-platform 2D polygon manipulation AP.
Installation
At present the code is pre-release but when ready it will be available on Nuget.
Pre-release downloads
We already have a MyGet package repository - for bleeding-edge / development NuGet releases.
Manual build
If you prefer, you can compile SixLabors.Shapes yourself (please do and help!), you'll need:
- Visual Studio 2015 with Update 3 (or above)
- The .NET Core 1.0 SDK Installer - Non VSCode link.
To clone it locally click the "Clone in Windows" button above or run the following git commands.
git clone https://github.com/SixLabors/Shapes.git
Features
- Point in Polygon
- Line Intersections
- Complex Polygons (with holes, this can be contained or overlap(we fix them for you))
- Polygons
- With Liniear line segments
- With Beziear curve linesegments
- Mixes Linear & beziear segments
- Paths
- With Liniear line segments
- With Beziear curve linesegments
- Mixes Linear & beziear segments
API
TODO add api example in here (missing polygon builder class)
How can you help?
Please... Spread the word, contribute algorithms, submit performance improvements, unit tests.
Projects using SixLabors.Shapes
None yet but should soon be used by SvgSharp and ImageSharp.
The SixLabors.Shapes Team
Lead