VectSharp 2.6.1
A light library for C# vector graphics
|
A plot element that uses an Action to draw its contents. More...
Public Member Functions | |||
PlotElement (ICoordinateSystem< T > coordinateSystem, Action< Graphics, ICoordinateSystem< T > > plotAction) | |||
Create a new PlotElement<T> using the specified coordinate system and plot action. More... | |||
void | Plot (Graphics target) | ||
Draw the plot element on the specified target  Graphics.
| |||
void | Plot (Graphics target) | ||
Draw the plot element on the specified target  Graphics. More... | |||
Properties | |
Action< Graphics, ICoordinateSystem< T > > | PlotAction [get, set] |
The action that is invoked when the plot element needs to be drawn. More... | |
ICoordinateSystem< T > | CoordinateSystem [get, set] |
The coordinate system used to transform the points from data space to plot space. More... | |
![]() | |
ICoordinateSystem | CoordinateSystem [get] |
The coordinate system used to transform the points from data space to plot space. More... | |
A plot element that uses an Action to draw its contents.
T | The type of data to plot (e.g. double[] ). |
VectSharp.Plots.PlotElement< T >.PlotElement | ( | ICoordinateSystem< T > | coordinateSystem, |
Action< Graphics, ICoordinateSystem< T > > | plotAction | ||
) |
Create a new PlotElement<T> using the specified coordinate system and plot action.
coordinateSystem | The coordinate system used to transform the points from data space to plot space. |
plotAction | The action that is invoked when the plot element needs to be drawn. |
void VectSharp.Plots.PlotElement< T >.Plot | ( | Graphics | target | ) |
Draw the plot element on the specified target  Graphics.
target | The Graphics on which to draw. |
Implements VectSharp.Plots.IPlotElement.
|
getset |
The coordinate system used to transform the points from data space to plot space.
Implements VectSharp.Plots.IPlotElement.
|
getset |