Shapes/README.md

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

2018-03-22 15:53:12 +03:00
<h1 align="center">
2018-03-22 15:53:12 +03:00
<img src="https://raw.githubusercontent.com/SixLabors/Branding/master/icons/shapes/sixlabors.shapes.512.png" alt="SixLabors.Shapes" width="256"/>
<br/>
SixLabors.Shapes
</h1>
2018-03-22 15:53:12 +03:00
<div align="center">
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)
2018-03-22 15:53:12 +03:00
</div>
**SixLabors.Shapes** is a new cross-platform 2D polygon manipulation API.
### 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
2018-03-22 15:53:12 +03:00
- Mixture of both Linear & bezier segments
2017-01-16 20:14:11 +03:00
- Paths
2017-02-03 22:28:55 +03:00
- With Linear line segments
2018-03-22 15:53:12 +03:00
- 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.
2017-01-28 21:27:16 +03:00
### Projects using SixLabors.Shapes
2018-03-22 15:53:12 +03:00
* [SixLabors.ImageSharp](https://github.com/SixLabors/ImageSharp) - cross platform, fully managed, image manipulation 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)
2018-03-22 15:53:12 +03:00
Core Team
- [Dirk Lemstra](https://github.com/dlemstra)
- [Anton Firsov](https://github.com/antonfirsov)
- [James Jackson-South](https://github.com/jimbobsquarepants)