Π·Π΅ΡΠΊΠ°Π»ΠΎ ΠΈΠ· https://github.com/SixLabors/Shapes.git
68f882ffcc | ||
---|---|---|
icons | ||
src | ||
tests | ||
.editorconfig | ||
.gitignore | ||
LICENSE.txt | ||
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
Pre-release downloads
At present the code is pre-release we have initial pre-releases availible on nuget.
We also 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)
- Polygon clipping
- 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