C# Class csModels.Utils.Drawing.DrawPolyline

Draw a line, freehand style.
Inheritance: LineDrawingBase
显示文件 Open project: TNOCS/csTouch Class Usage Examples

Public Methods

Method 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

Method Description
PolylineDrawingCompleted ( DrawingCompletedEventArgs args ) : void

Method Details

DrawPolyline() public method

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