![]() |
Drawing Class |
Namespace: Accord.Imaging
Name | Description | |
---|---|---|
![]() ![]() | FillRectangle(BitmapData, Rectangle, Color) |
Fill rectangle on the specified image.
|
![]() ![]() | FillRectangle(UnmanagedImage, Rectangle, Color) |
Fill rectangle on the specified image.
|
![]() ![]() | Line(BitmapData, IntPoint, IntPoint, Color) |
Draw a line on the specified image.
|
![]() ![]() | Line(UnmanagedImage, IntPoint, IntPoint, Color) |
Draw a line on the specified image.
|
![]() ![]() | Polygon(BitmapData, ListIntPoint, Color) |
Draw a polygon on the specified image.
|
![]() ![]() | Polygon(UnmanagedImage, ListIntPoint, Color) |
Draw a polygon on the specified image.
|
![]() ![]() | Polyline(BitmapData, ListIntPoint, Color) |
Draw a polyline on the specified image.
|
![]() ![]() | Polyline(UnmanagedImage, ListIntPoint, Color) |
Draw a polyline on the specified image.
|
![]() ![]() | Rectangle(BitmapData, Rectangle, Color) |
Draw rectangle on the specified image.
|
![]() ![]() | Rectangle(UnmanagedImage, Rectangle, Color) |
Draw rectangle on the specified image.
|
The class allows to do drawing of some primitives directly on locked image data or unmanaged image.
![]() |
---|
All methods of this class support drawing only on color 24/32 bpp images and on grayscale 8 bpp indexed images. |
![]() |
---|
When it comes to alpha blending for 24/32 bpp images, all calculations are done as described on Wikipeadia (see "over" operator). |