C# Class MonoReports.Tools.LineTool

Inheritance: BaseTool
Show file Open project: modesto/monoreports

Protected Properties

Property Type Description
currentSection MonoReports.ControlView.SectionView
endPointHit bool
line Line
startPointHit bool

Public Methods

Method Description
CreateNewControl ( SectionView sectionView ) : void
LineTool ( DesignService designService ) : System
OnAfterDraw ( Context c ) : void
OnBeforeDraw ( Context c ) : void
OnMouseDown ( ) : void
OnMouseMove ( ) : void
OnMouseUp ( ) : void

Protected Methods

Method Description
createLine ( double x, double y ) : Line

Method Details

CreateNewControl() public method

public CreateNewControl ( SectionView sectionView ) : void
sectionView MonoReports.ControlView.SectionView
return void

LineTool() public method

public LineTool ( DesignService designService ) : System
designService MonoReports.Services.DesignService
return System

OnAfterDraw() public method

public OnAfterDraw ( Context c ) : void
c Cairo.Context
return void

OnBeforeDraw() public method

public OnBeforeDraw ( Context c ) : void
c Cairo.Context
return void

OnMouseDown() public method

public OnMouseDown ( ) : void
return void

OnMouseMove() public method

public OnMouseMove ( ) : void
return void

OnMouseUp() public method

public OnMouseUp ( ) : void
return void

createLine() protected method

protected createLine ( double x, double y ) : Line
x double
y double
return Line

Property Details

currentSection protected property

protected SectionView,MonoReports.ControlView currentSection
return MonoReports.ControlView.SectionView

endPointHit protected property

protected bool endPointHit
return bool

line protected property

protected Line line
return Line

startPointHit protected property

protected bool startPointHit
return bool