зеркало из https://github.com/SixLabors/Shapes.git
3.1 KiB
3.1 KiB
SixLabors.Shapes
SixLabors.Shapes is a new cross-platform 2D polygon manipulation API.
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 2017
- The .NET Core 2.1 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
- Simple polygon clipping
- Regular Polygons (triangles, squares, pentagons etc, any number of sides)
- Ellipses (and therfore circles)
- Shape Builder api - for creating shapes declaratively
- Polygons
- With Linear line segments
- With Beziear curve line segments
- Mixture of both Linear & bezier segments
- Paths
- With Linear line segments
- With Bezier curve line segments
- Mixture of both Linear & bezier segments
How can you help?
Please... Spread the word, contribute algorithms, submit performance improvements, unit tests.
Projects using SixLabors.Shapes
- SixLabors.ImageSharp - cross platform, fully managed, image manipulation and drawing library.
The SixLabors.Shapes Team
Lead
Core Team