C# Class csModels.Utils.Drawing.DrawPolyline

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

Méthodes publiques

Méthode Description
DrawPolyline ( PoI poi ) : System.Windows.Media

Create an object to draw a polygon line

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

Start drawing the line.

Private Methods

Méthode Description
PolylineDrawingCompleted ( DrawingCompletedEventArgs args ) : void

Method Details

DrawPolyline() public méthode

Create an object to draw a polygon line
public DrawPolyline ( 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