Aspose.Drawing for .NET | Cross-platform System.Drawing.Common replacement (original) (raw)
Aspose.Drawing package can be used to directly replace System.Drawing.Common package reference in your project - all your existing code using System.Drawing API will continue to work, but now on any .NET supported platform. The 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 all commonly used 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.
At a Glance
An overview of Aspose.Drawing for .NET API.
Vector Graphics
- Draw Lines and Curves
- Draw Shapes
- Use Pens
- Use Brushes
- Render Text
- Use Different Fonts
Transformations
- Matrix
- Global and Local
Image Operations
- Create bitmaps
- Load Images
- Cropping
- Scaling
- Save Images
Rendering
- Antialiasing
- Clipping
- Alpha blending
Aspose.Drawing
Platform Independence
Aspose.Drawing for .NET supports .NET Framework version 2.0, .NET Standard 2.0 or later.
Aspose.Drawing
Supported File Formats
Aspose.Drawing for .NET supports the followingimage formats.
Input/Output
- BMP
- PNG
- JPEG
- GIF
- TIFF
- EMF
- WMF
Aspose.Drawing
Advanced .NET Graphics API Features
Edit image, add image, add border, add text, change or remove background
Draw lines, curves, splines and arcs
Draw shapes like rectangle, polygon, ellipse, etc
Process and draw graphics paths
Render text with different fonts and styles
Use different pen widths and styles
Use solid, texture, gradient, and hatch brushes
Supports alpha blending and anti-aliasing
Use coordinate system transformations
Draw Vector Graphics
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.