Shapes/README.md

66 строки
2.8 KiB
Markdown
Исходник Обычный вид История

2017-02-03 00:48:59 +03:00
# <img src="icons/icon.png" width="52" height="52" /> SixLabors.Shapes
2017-01-28 21:27:16 +03:00
**SixLabors.Shapes** is a new cross-platform 2D polygon manipulation AP.
2017-07-16 15:36:12 +03:00
[![Build status](https://ci.appveyor.com/api/projects/status/3tqmmb43c7trq43e/branch/master?svg=true)](https://ci.appveyor.com/project/six-labors/shapes/branch/master)
[![codecov](https://codecov.io/gh/SixLabors/Shapes/branch/master/graph/badge.svg)](https://codecov.io/gh/SixLabors/Shapes)
2017-02-03 00:48:59 +03:00
[![GitHub license](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/SixLabors/Shapes/master/LICENSE.txt)
[![Join the chat at https://gitter.im/SixLabors/Shapes](https://badges.gitter.im/SixLabors/Shapes.svg)](https://gitter.im/SixLabors/Shapes?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
2017-01-30 18:01:24 +03:00
[![GitHub issues](https://img.shields.io/github/issues/SixLabors/Shapes.svg)](https://github.com/SixLabors/Shapes/issues)
[![GitHub stars](https://img.shields.io/github/stars/SixLabors/Shapes.svg)](https://github.com/SixLabors/Shapes/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/SixLabors/Shapes.svg)](https://github.com/SixLabors/Shapes/network)
### Installation
**Pre-release downloads**
2017-02-03 18:35:32 +03:00
At present the code is pre-release we have initial pre-releases availible on [nuget](https://www.nuget.org/packages/SixLabors.Shapes/).
2017-02-03 18:35:17 +03:00
We also have a [MyGet package repository](https://www.myget.org/gallery/SixLabors) - for bleeding-edge / development NuGet releases.
### Manual build
2017-01-28 21:27:16 +03:00
If you prefer, you can compile SixLabors.Shapes yourself (please do and help!), you'll need:
2017-03-08 10:36:18 +03:00
- [Visual Studio 2017](https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes)
- The [.NET Core 1.0 SDK Installer](https://www.microsoft.com/net/core#windows) - Non VSCode link.
To clone it locally click the "Clone in Windows" button above or run the following git commands.
```bash
2017-01-28 21:27:16 +03:00
git clone https://github.com/SixLabors/Shapes.git
```
### Features
2017-01-16 20:14:11 +03:00
- Point in Polygon
- Line Intersections
2017-02-03 22:28:55 +03:00
- Complex Polygons
- Simple polygon clipping
- Regular Polygons (triangles, squares, pentagons etc, any number of sides)
- Ellipses (and therfore circles)
2017-02-07 14:47:36 +03:00
- Shape Builder api - for creating shapes declaratively
2017-01-16 20:14:11 +03:00
- Polygons
2017-02-03 22:28:55 +03:00
- With Linear line segments
- With Beziear curve line segments
- Mixture of both Linear & beziear segments
2017-01-16 20:14:11 +03:00
- Paths
2017-02-03 22:28:55 +03:00
- With Linear line segments
- With Beziear curve line segments
- Mixture of both Linear & beziear segments
### How can you help?
Please... Spread the word, contribute algorithms, submit performance improvements, unit tests.
2017-01-28 21:27:16 +03:00
### Projects using SixLabors.Shapes
2017-02-07 14:47:36 +03:00
* [ImageSharp](https://github.com/jimBobSquarePants/ImageSharp) - cross platform, fully manged, image manipultion and drawing library.
2017-01-28 21:27:16 +03:00
### The SixLabors.Shapes Team
2017-01-16 20:14:11 +03:00
Lead
- [Scott Williams](https://github.com/tocsoft)