VectSharp 2.6.1
A light library for C# vector graphics
|
A symbol drawn by a custom Action. More...
Public Member Functions | |||||||
void | Plot (Graphics target, PlotElementPresentationAttributes presentationAttributes, string tag) | ||||||
Draw the symbol on the plot.
| |||||||
ActionDataPointElement (Action< Graphics, PlotElementPresentationAttributes, string > plotAction) | |||||||
Creates a new ActionDataPointElement using the specified action to draw the symbol. More... | |||||||
void | Plot (Graphics target, PlotElementPresentationAttributes presentationAttributes, string tag) | ||||||
Draw the symbol on the plot. More... | |||||||
Properties | |
Action< Graphics, PlotElementPresentationAttributes, string > | PlotAction [get, set] |
The Action used to draw the symbol. This should take as arguments the Graphics object on which to draw the symbol, the PlotElementPresentationAttributes describing the appearance of the symbol, and a string representing a tag for the symbol. More... | |
A symbol drawn by a custom Action.
Definition at line 122 of file DataPoints.cs.
VectSharp.Plots.ActionDataPointElement.ActionDataPointElement | ( | Action< Graphics, PlotElementPresentationAttributes, string > | plotAction | ) |
Creates a new ActionDataPointElement using the specified action to draw the symbol.
plotAction | The Action used to draw the symbol. This should take as arguments the Graphics object on which to draw the symbol, the PlotElementPresentationAttributes describing the appearance of the symbol, and a string representing a tag for the symbol. |
Definition at line 140 of file DataPoints.cs.
void VectSharp.Plots.ActionDataPointElement.Plot | ( | Graphics | target, |
PlotElementPresentationAttributes | presentationAttributes, | ||
string | tag | ||
) |
Draw the symbol on the plot.
target | The Graphics object on which to draw. It is assumed that it has been transformed so that the symbol can be drawn centred at (0, 0) |
presentationAttributes | Presentation attributes determining the appearance of the symbol. |
tag | A tag to identify the symbol in the plot. |
Implements VectSharp.Plots.IDataPointElement.
|
getset |
The Action used to draw the symbol. This should take as arguments the Graphics object on which to draw the symbol, the PlotElementPresentationAttributes describing the appearance of the symbol, and a string
representing a tag for the symbol.
Definition at line 129 of file DataPoints.cs.