Renderer.draw Method (Bitmap, Stroke, Single, Single, Single, Single, Int32, Color)
From Neo smartpen SDK
Class Library Documentation for Neo smartpen SDK
Rendererdraw Method (Bitmap, Stroke, Single, Single, Single, Single, Int32, Color) |
Draw a stroke on the Bitmap.
Namespace: Neosmartpen.Net.Support
Assembly: Neosmartpen.Net (in Neosmartpen.Net.dll) Version: 2.1.13.0 (2.1.13)
C#
public static void draw( Bitmap bitmap, Stroke stroke, float scalex, float scaley, float offset_x, float offset_y, int width, Color color )
Parameters
- bitmap
- Type: System.DrawingBitmap
Bitmap to which the stroke will be drawn - stroke
- Type: Neosmartpen.NetStroke
Stroke to draw - scalex
- Type: SystemSingle
x scale - scaley
- Type: SystemSingle
y scale - offset_x
- Type: SystemSingle
x offset - offset_y
- Type: SystemSingle
y offset - width
- Type: SystemInt32
Thickness of Stroke - color
- Type: System.DrawingColor
Color of Stroke