VectSharp 2.6.1
A light library for C# vector graphics
Loading...
Searching...
No Matches
VectSharp.Plots.ActionDataPointElement Class Reference

A symbol drawn by a custom Action. More...

Inheritance diagram for VectSharp.Plots.ActionDataPointElement:

Public Member Functions

void Plot (Graphics target, PlotElementPresentationAttributes presentationAttributes, string tag)
 Draw the symbol on the plot.
Parameters
targetThe 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)
presentationAttributesPresentation attributes determining the appearance of the symbol.
tagA tag to identify the symbol in the plot.
More...
 
 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...
 

Detailed Description

A symbol drawn by a custom Action.

Definition at line 122 of file DataPoints.cs.

Constructor & Destructor Documentation

◆ ActionDataPointElement()

VectSharp.Plots.ActionDataPointElement.ActionDataPointElement ( Action< Graphics, PlotElementPresentationAttributes, string >  plotAction)

Creates a new ActionDataPointElement using the specified action to draw the symbol.

Parameters
plotActionThe 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.

Member Function Documentation

◆ Plot()

void VectSharp.Plots.ActionDataPointElement.Plot ( Graphics  target,
PlotElementPresentationAttributes  presentationAttributes,
string  tag 
)

Draw the symbol on the plot.

Parameters
targetThe 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)
presentationAttributesPresentation attributes determining the appearance of the symbol.
tagA tag to identify the symbol in the plot.

Implements VectSharp.Plots.IDataPointElement.

Property Documentation

◆ PlotAction

Action<Graphics, PlotElementPresentationAttributes, string> VectSharp.Plots.ActionDataPointElement.PlotAction
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.


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