This documentation is for the old version. Go to the latest Graphics Mill docs

FreehandVObject.Draw Method

Draws a freehand v-object.

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)

Syntax

Visual Basic
Public Overrides Sub Draw ( _
	renderingRect As Rectangle, _
	g As Graphics, _
	coordinateMapper As ICoordinateMapper _
)
C#
public override void Draw(
	Rectangle renderingRect,
	Graphics g,
	ICoordinateMapper coordinateMapper
)

Parameters

renderingRect

Type: System.Drawing.Rectangle

A region where the freehand v-object will be drawn.
g

Type: System.Drawing.Graphics

Target System.Drawing.Graphics object on which the v-object should be drawn.
coordinateMapper

Type: Aurigma.GraphicsMill.WinControls.ICoordinateMapper

An object that provides methods for mapping workspace coordinates to control ones.

Remarks

As the v-object does not know anything about control scroll bars position and its zoom, it simply uses the specifed coordinateMapper to transform its own (workspace) coordinates to control coordinates.

See Also

Reference