ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ScottPlot.Plottables.DraggablePlottableDecorator Class Reference
Inheritance diagram for ScottPlot.Plottables.DraggablePlottableDecorator:
ScottPlot.Plottables.HittablePlottableDecorator ScottPlot.IPlottable IDisposable

Public Member Functions

 DraggablePlottableDecorator (IPlottable plottable)
 
void StartDrag (Coordinates start)
 
void DragTo (Coordinates to)
 
- Public Member Functions inherited from ScottPlot.Plottables.HittablePlottableDecorator
AxisLimits GetAxisLimits ()
 Return the 2D area (in coordinate space) occupied by the data contained in this plottable.
 
 HittablePlottableDecorator (IPlottable plottable)
 
bool IsHit (Pixel pixel, float radius)
 Returns true if the plottable is within radius pixels of the given pixel
 
virtual void Render (RenderPack rp)
 Draw the data from this plottable into the data area defined in the Axes. By default the surface is already clipped to the data area, but this can be cleared inside the plottable.
 
void Dispose ()
 

Additional Inherited Members

- Properties inherited from ScottPlot.Plottables.HittablePlottableDecorator
IPlottable Source [get]
 
bool IsVisible [get, set]
 Toggles whether this plottable is shown and contributes to the automatic axis limit detection. The calling method will check this variable (it does not need to be checked inside the Render method).
 
IAxes Axes [get, set]
 This object performs coordinate/pixel translation at render time based on the latest data area. It stores the axes to use for this plottable and also the data area (in pixels) updated just before each render. If this object is null it will be constructed using the default X and Y axes at render time.
 
IEnumerable< LegendItemLegendItems [get]
 Items which will appear in the legend.
 
- Properties inherited from ScottPlot.IPlottable

Constructor & Destructor Documentation

◆ DraggablePlottableDecorator()

ScottPlot.Plottables.DraggablePlottableDecorator.DraggablePlottableDecorator ( IPlottable  plottable)
inline

Member Function Documentation

◆ DragTo()

void ScottPlot.Plottables.DraggablePlottableDecorator.DragTo ( Coordinates  to)
inline

◆ StartDrag()

void ScottPlot.Plottables.DraggablePlottableDecorator.StartDrag ( Coordinates  start)
inline

The documentation for this class was generated from the following file: