C# Class csModels.Utils.Drawing.DrawFreehand

Draw a line, freehand style.
Inheritance: LineDrawingBase
Show file Open project: TNOCS/csTouch Class Usage Examples

Public Methods

Method Description
DrawFreehand ( PoI poi ) : System.Windows.Media

Create an object to draw a freehand line

StartDrawing ( Color strokeColor, int insertOrAppend = -1, double strokeWidth = 2.0 ) : void

Start drawing the line.

Private Methods

Method Description
FreehandDrawingCompleted ( DrawingCompletedEventArgs args ) : void

Method Details

DrawFreehand() public method

Create an object to draw a freehand line
public DrawFreehand ( PoI poi ) : System.Windows.Media
poi DataServer.PoI
return System.Windows.Media

StartDrawing() public method

Start drawing the line.
public StartDrawing ( Color strokeColor, int insertOrAppend = -1, double strokeWidth = 2.0 ) : void
strokeColor System.Windows.Media.Color
insertOrAppend int Insert or append the line to the Poi. In case the value is less than 0, append, otherwise insert.
strokeWidth double
return void