C# Class csModels.Utils.Drawing.DrawFreehand

Draw a line, freehand style.
Inheritance: LineDrawingBase
Afficher le fichier Open project: TNOCS/csTouch Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
FreehandDrawingCompleted ( DrawingCompletedEventArgs args ) : void

Method Details

DrawFreehand() public méthode

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

StartDrawing() public méthode

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
Résultat void