зеркало из https://github.com/SixLabors/Shapes.git
14c70f22c5 | ||
---|---|---|
icons | ||
samples/DrawShapesWithImageSharp | ||
src | ||
tests | ||
.editorconfig | ||
.gitignore | ||
LICENSE.txt | ||
NuGet.config | ||
README.md | ||
SixLabors.Shapes.ruleset | ||
SixLabors.Shapes.sln | ||
SixLabors.Shapes.sln.DotSettings | ||
SixLabors.Shapes.v3.ncrunchsolution | ||
appveyor.yml | ||
build.cmd | ||
build.ps1 | ||
codecov.yml | ||
gitversion.yml | ||
stylecop.json |
README.md
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 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
- 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