VectSharp 2.6.1
A light library for C# vector graphics
All Classes Namespaces Functions Variables Enumerations Properties Events Pages
VectSharp.Plots.PathDataPointElement Class Reference

A symbol defined by a GraphicsPath. More...

Inheritance diagram for VectSharp.Plots.PathDataPointElement:

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...
 
 PathDataPointElement ()
 Create a new PathDataPointElement instance representing a circle. More...
 
 PathDataPointElement (GraphicsPath path)
 Create a new PathDataPointElement instance with the specified path . More...
 
void Plot (Graphics target, PlotElementPresentationAttributes presentationAttributes, string tag)
 Draw the symbol on the plot. More...
 

Properties

GraphicsPath Path = new GraphicsPath().Arc(0, 0, 1, 0, 2 * Math.PI).Close() [get, set]
 The GraphicsPath that constitutes the symbol (by default, a circle). More...
 

Detailed Description

A symbol defined by a GraphicsPath.

Definition at line 40 of file DataPoints.cs.

Constructor & Destructor Documentation

◆ PathDataPointElement() [1/2]

VectSharp.Plots.PathDataPointElement.PathDataPointElement ( )

Create a new PathDataPointElement instance representing a circle.

Definition at line 79 of file DataPoints.cs.

◆ PathDataPointElement() [2/2]

VectSharp.Plots.PathDataPointElement.PathDataPointElement ( GraphicsPath  path)

Create a new PathDataPointElement instance with the specified path .

Definition at line 87 of file DataPoints.cs.

Member Function Documentation

◆ Plot()

void VectSharp.Plots.PathDataPointElement.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.

Definition at line 48 of file DataPoints.cs.

Property Documentation

◆ Path

GraphicsPath VectSharp.Plots.PathDataPointElement.Path = new GraphicsPath().Arc(0, 0, 1, 0, 2 * Math.PI).Close()
getset

The GraphicsPath that constitutes the symbol (by default, a circle).

Definition at line 45 of file DataPoints.cs.


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