Skip to content

🖊️ Extensions to ImageSharp containing a cross-platform 2D polygon manipulation API and drawing operations.

License

Notifications You must be signed in to change notification settings

guuskuiper/ImageSharp.Drawing

 
 

Repository files navigation

SixLabors.ImageSharp.Drawing
SixLabors.ImageSharp.Drawing

GitHub license Gitter Twitter OpenCollective OpenCollective

ImageSharp.Drawing provides extensions to ImageSharp containing a cross-platform 2D polygon manipulation API and drawing operations.

Designed to democratize image processing, ImageSharp.Drawing brings you an incredibly powerful yet beautifully simple API.

Built against .NET Standard 1.3, ImageSharp.Drawing can be used in device, cloud, and embedded/IoT scenarios.

Documentation

For all SixLabors projects, including ImageSharp.Drawing: https://sixlabors.github.io/docs/

Installation

Install stable releases via Nuget; development releases are available via MyGet.

Package Name Release (NuGet) Nightly (MyGet)
SixLabors.ImageSharp.Drawing NuGet MyGet
  • 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
  • Drawing
    • Brushes and various drawing algorithms, including drawing images
    • Various vector drawing methods for drawing paths, polygons etc.
    • Text drawing

Build Status

Build Status Code Coverage
Build Status Code coverage

Questions?

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.

Manual build

If you prefer, you can compile ImageSharp.Drawing yourself (please do and help!)

Alternatively, you can work from command line and/or with a lightweight editor on both Linux/Unix and Windows:

To clone ImageSharp locally, click the "Clone in [YOUR_OS]" button above or run the following git commands:

git clone https://github.com/SixLabors/ImageSharp.Drawing

If working with Windows please ensure that you have enabled log file paths in git (run as Administrator).

git config --system core.longpaths true

Submodules

This repository contains git submodules. To add the submodules to the project, navigate to the repository root and type:

git submodule update --init --recursive

How can you help?

Please... Spread the word, contribute algorithms, submit performance improvements, unit tests, no input is too little. Make sure to read our Contribution Guide before opening a PR.

The ImageSharp Team

Lead

Core Team

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

About

🖊️ Extensions to ImageSharp containing a cross-platform 2D polygon manipulation API and drawing operations.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.9%
  • PowerShell 0.1%