Aspose.Drawing for .NET is a cross-platform 2D drawing engine with System. Drawing compatible API. Drawing library supports rendering vector graphics such as lines, curves, and figures as well as text in a variety of fonts, sizes, and styles onto raster images. Images can be saved in some of the famous graphics formats including BMP, PNG, JPEG, GIF, and TIFF. Aspose.Drawing is a pure .NET library and does not rely on any external native rendering engine.
An overview of Aspose.Drawing for .NET API.
Aspose.Drawing for .NET supports any .NET framework starting from 2.0.
Aspose.Drawing for .NET supports the following image formats.
Creating bitmaps from scratch or load existing files
Draw lines, curves, splines and arcs
Draw shapes like rectangle, polygon, eclipse, etc
Process and draw graphics paths
Render text with different fonts and styles
Use different pen widths and styles
Use solid and texture brushes
Supports Alpha blending and anti-aliasing lines and shapes
Work with clip regions
Use affine transformations
Aspose.Drawing for .NET allows to draw different vector graphics such as arcs, Cardinal Spline, Bezier spline, ellipses, closed curves, lines and a number of other types. Only few lines of code needed to draw different types of vector graphics using the API. e.g here is code for drawing arc.
Bitmap bitmap = new Bitmap(1000, 800, System.Drawing.Imaging.PixelFormat.Format32bppPArgb); Graphics graphics = Graphics.FromImage(bitmap); Pen pen = new Pen(Color.FromKnownColor(KnownColor.Blue), 2); graphics.DrawArc(pen, 0, 0, 700, 700, 0, 180); bitmap.Save(@"dirpath\LinesCurvesShapes\DrawArc_out.png");