Метод | Описание | |
---|---|---|
Add ( IDrawable p ) : void |
Adds a drawable object to the plot surface with z-order 0. If the object is an IPlot, the PlotSurface2D axes will also be updated.
|
|
Add ( IDrawable p, int zOrder ) : void |
Adds a drawable object to the plot surface. If the object is an IPlot, the PlotSurface2D axes will also be updated.
|
|
AddAxesConstraint ( |
Add an axis constraint to the plot surface. Axes constraints give you control over where NPlot positions each axes, and the world - pixel ratio.
|
|
Clear ( ) : void |
Clears the plot and resets all state to the default.
|
|
Draw ( |
Draw the the PlotSurface2D and all contents [axes, drawables] on the supplied graphics surface.
|
|
HitTest ( Point p ) : |
Performs a hit test with the given point and returns information about the object being hit.
|
|
PlotSurface2D ( ) : System |
Default constructor.
|
|
Remove ( IDrawable p, bool updateAxes ) : void |
Remove a drawable object. Note that axes are not updated.
|
Метод | Описание | |
---|---|---|
DetermineAxesToDraw ( |
||
DeterminePhysicalAxesToDraw ( |
||
DetermineScaleFactor ( int w, int h ) : float | ||
Init ( ) : void | ||
RefreshZOrdering ( ) : void |
If a plot is removed, then the ordering_ list needs to be recalculated.
|
|
UpdateAxes ( bool recalculateAll ) : void |
public Add ( IDrawable p ) : void | ||
p | IDrawable | The IDrawable object to add to the plot surface. |
Результат | void |
public Add ( IDrawable p, int zOrder ) : void | ||
p | IDrawable | The IDrawable object to add to the plot surface. |
zOrder | int | The z-ordering when drawing (objects with lower numbers are drawn first) |
Результат | void |
public AddAxesConstraint ( |
||
constraint | The axis constraint to add. | |
Результат | void |
public Draw ( |
||
g | The graphics surface on which to draw. | |
bounds | A bounding box on this surface that denotes the area on the /// surface to confine drawing to. | |
Результат | void |
public HitTest ( Point p ) : |
||
p | Point | The point to test. |
Результат |
public Remove ( IDrawable p, bool updateAxes ) : void | ||
p | IDrawable | Drawable to remove. |
updateAxes | bool | if true, the axes are updated. |
Результат | void |