C# Class Renderer.Layer

Show file Open project: jtalbot/Labeling Class Usage Examples

Public Properties

Property Type Description
OnInvalidate InvalidateHandler

Protected Properties

Property Type Description
OnContextMenu LayerContextMenu
plotPanel PlotPanel
state RenderState

Public Methods

Method Description
Draw ( Graphics g, Rectangle rec ) : void
DrawVisitor ( Panel p, RectangleF clip, double order ) : List>
FormatNum ( double d, double range ) : string
Layer ( PlotPanel plotPanel ) : System
Layout ( Rectangle screen ) : void
NotifyContextMenu ( Rectangle rec, MouseEventArgs e ) : IEnumerable
NotifyMouseDown ( Rectangle rec, MouseEventArgs e, Keys modifierKeys ) : bool
NotifyMouseLeave ( Rectangle rec, EventArgs e ) : bool
NotifyMouseLeaveVisitor ( Panel p, EventArgs e ) : bool
NotifyMouseMove ( Rectangle rec, MouseEventArgs e ) : bool
NotifyMouseSelect ( Rectangle rec, MouseEventArgs e, Keys modifierKeys, Rectangle selection ) : bool
NotifyMouseUp ( Rectangle rec, MouseEventArgs e ) : bool
invalidate ( ) : void

Private Methods

Method Description
NotifyMouseEnterVisitor ( Panel p, MouseEventArgs e ) : bool
NotifyMouseExitVisitor ( Panel p, MouseEventArgs e ) : bool
SelectionModeFromKeys ( Keys modifierKeys ) : SelectionMode

Method Details

Draw() public method

public Draw ( Graphics g, Rectangle rec ) : void
g System.Drawing.Graphics
rec System.Drawing.Rectangle
return void

DrawVisitor() public method

public DrawVisitor ( Panel p, RectangleF clip, double order ) : List>
p System.Windows.Forms.Panel
clip System.Drawing.RectangleF
order double
return List>

FormatNum() public static method

public static FormatNum ( double d, double range ) : string
d double
range double
return string

Layer() public method

public Layer ( PlotPanel plotPanel ) : System
plotPanel PlotPanel
return System

Layout() public method

public Layout ( Rectangle screen ) : void
screen System.Drawing.Rectangle
return void

NotifyContextMenu() public method

public NotifyContextMenu ( Rectangle rec, MouseEventArgs e ) : IEnumerable
rec System.Drawing.Rectangle
e MouseEventArgs
return IEnumerable

NotifyMouseDown() public method

public NotifyMouseDown ( Rectangle rec, MouseEventArgs e, Keys modifierKeys ) : bool
rec System.Drawing.Rectangle
e MouseEventArgs
modifierKeys Keys
return bool

NotifyMouseLeave() public method

public NotifyMouseLeave ( Rectangle rec, EventArgs e ) : bool
rec System.Drawing.Rectangle
e System.EventArgs
return bool

NotifyMouseLeaveVisitor() public method

public NotifyMouseLeaveVisitor ( Panel p, EventArgs e ) : bool
p System.Windows.Forms.Panel
e System.EventArgs
return bool

NotifyMouseMove() public method

public NotifyMouseMove ( Rectangle rec, MouseEventArgs e ) : bool
rec System.Drawing.Rectangle
e MouseEventArgs
return bool

NotifyMouseSelect() public method

public NotifyMouseSelect ( Rectangle rec, MouseEventArgs e, Keys modifierKeys, Rectangle selection ) : bool
rec System.Drawing.Rectangle
e MouseEventArgs
modifierKeys Keys
selection System.Drawing.Rectangle
return bool

NotifyMouseUp() public method

public NotifyMouseUp ( Rectangle rec, MouseEventArgs e ) : bool
rec System.Drawing.Rectangle
e MouseEventArgs
return bool

invalidate() public method

public invalidate ( ) : void
return void

Property Details

OnContextMenu protected property

protected LayerContextMenu OnContextMenu
return LayerContextMenu

OnInvalidate public property

public InvalidateHandler OnInvalidate
return InvalidateHandler

plotPanel protected property

protected PlotPanel,Renderer plotPanel
return PlotPanel

state protected property

protected RenderState,Renderer state
return RenderState