Method | Description | |
---|---|---|
Add ( IDrawable p ) : void |
Adds a drawable object to the plot surface. 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 ( AxesConstraint c ) : void |
Add an axis constraint to the plot surface. Axis constraints can specify relative world-pixel scalings, absolute axis positions etc.
|
|
Clear ( ) : void |
Clears the plot.
|
|
Draw ( Graphics g, Rectangle bounds ) : void |
Renders the plot.
|
|
PlotSurface2D ( System b ) : System.Collections.Generic |
Constructor.
|
|
PlotSurface2D ( int width, int height ) : System.Collections.Generic |
Constructor.
|
|
Refresh ( ) : void |
Refreshes (draws) the plot.
|
|
Remove ( IDrawable p, bool updateAxes ) : void |
Remove a drawable object from the plot surface.
|
|
ToStream ( ImageFormat imageFormat ) : MemoryStream |
Renders the bitmap to a MemoryStream. Useful for returning the bitmap from an ASP.NET page.
|
public Add ( IDrawable p ) : void | ||
p | IDrawable | The IDrawable object to add to the plot surface. |
return | 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) |
return | void |
public AddAxesConstraint ( AxesConstraint c ) : void | ||
c | AxesConstraint | The axis constraint to add. |
return | void |
public Draw ( Graphics g, Rectangle bounds ) : void | ||
g | Graphics | The graphics surface. |
bounds | Rectangle | The rectangle storing the bounds for rendering. |
return | void |
public PlotSurface2D ( System b ) : System.Collections.Generic | ||
b | System | The Bitmap where the plot is to be rendered. |
return | System.Collections.Generic |
public PlotSurface2D ( int width, int height ) : System.Collections.Generic | ||
width | int | width of the bitmap. |
height | int | height of the bitmap. |
return | System.Collections.Generic |
public Remove ( IDrawable p, bool updateAxes ) : void | ||
p | IDrawable | the drawable to remove |
updateAxes | bool | whether or not to update the axes after removing the idrawable. |
return | void |
public ToStream ( ImageFormat imageFormat ) : MemoryStream | ||
imageFormat | ImageFormat | |
return | MemoryStream |