C# Class MonoReports.Tools.LineTool

Inheritance: BaseTool
显示文件 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_oe property

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

endPointHit protected_oe property

protected bool endPointHit
return bool

line protected_oe property

protected Line line
return Line

startPointHit protected_oe property

protected bool startPointHit
return bool