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

A plot element that draws an axis line and an arrow. More...

Inheritance diagram for VectSharp.Plots.ContinuousAxis:

Public Member Functions

 ContinuousAxis (IReadOnlyList< double > startPoint, IReadOnlyList< double > endPoint, IContinuousCoordinateSystem coordinateSystem)
 Creates a new ContinuousAxis instance. More...
 
void Plot (Graphics target)
 Draw the plot element on the specified target &#160;Graphics.
Parameters
targetThe Graphics on which to draw.
More...
 
void Plot (Graphics target)
 Draw the plot element on the specified target &#160;Graphics. More...
 

Properties

IReadOnlyList< double > StartPoint [get, set]
 The starting point of the axis (i.e., the blunt end of the arrow), expressed in data space coordinates. More...
 
IReadOnlyList< double > EndPoint [get, set]
 The ending point of the axis (i.e., the pointy end of the arrow), expressed in data space coordinates. More...
 
double ArrowSize = 3 [get, set]
 The size of the arrow at the end of the axis, expressed in plot space coordinates. More...
 
IContinuousCoordinateSystem CoordinateSystem [get, set]
 The coordinate system used to transform the points from data space to plot space. More...
 
PlotElementPresentationAttributes PresentationAttributes = new PlotElementPresentationAttributes() [get, set]
 Presentation attributes determining the appearance of the axis. More...
 
string Tag [get, set]
 A tag to identify the axis in the plot. More...
 
- Properties inherited from VectSharp.Plots.IPlotElement
ICoordinateSystem CoordinateSystem [get]
 The coordinate system used to transform the points from data space to plot space. More...
 

Detailed Description

A plot element that draws an axis line and an arrow.

Definition at line 26 of file Axes.cs.

Constructor & Destructor Documentation

◆ ContinuousAxis()

VectSharp.Plots.ContinuousAxis.ContinuousAxis ( IReadOnlyList< double >  startPoint,
IReadOnlyList< double >  endPoint,
IContinuousCoordinateSystem  coordinateSystem 
)

Creates a new ContinuousAxis instance.

Parameters
startPointThe starting point of the axis (i.e., the blunt end of the arrow), expressed in data space coordinates.
endPointThe ending point of the axis (i.e., the pointy end of the arrow), expressed in data space coordinates.
coordinateSystemThe coordinate system used to transform the points from data space to plot space.

Definition at line 65 of file Axes.cs.

Member Function Documentation

◆ Plot()

void VectSharp.Plots.ContinuousAxis.Plot ( Graphics  target)

Draw the plot element on the specified target &#160;Graphics.

Parameters
targetThe Graphics on which to draw.

Implements VectSharp.Plots.IPlotElement.

Definition at line 73 of file Axes.cs.

Property Documentation

◆ ArrowSize

double VectSharp.Plots.ContinuousAxis.ArrowSize = 3
getset

The size of the arrow at the end of the axis, expressed in plot space coordinates.

Definition at line 41 of file Axes.cs.

◆ CoordinateSystem

IContinuousCoordinateSystem VectSharp.Plots.ContinuousAxis.CoordinateSystem
getset

The coordinate system used to transform the points from data space to plot space.

Implements VectSharp.Plots.IPlotElement.

Definition at line 46 of file Axes.cs.

◆ EndPoint

IReadOnlyList<double> VectSharp.Plots.ContinuousAxis.EndPoint
getset

The ending point of the axis (i.e., the pointy end of the arrow), expressed in data space coordinates.

Definition at line 36 of file Axes.cs.

◆ PresentationAttributes

PlotElementPresentationAttributes VectSharp.Plots.ContinuousAxis.PresentationAttributes = new PlotElementPresentationAttributes()
getset

Presentation attributes determining the appearance of the axis.

Definition at line 52 of file Axes.cs.

◆ StartPoint

IReadOnlyList<double> VectSharp.Plots.ContinuousAxis.StartPoint
getset

The starting point of the axis (i.e., the blunt end of the arrow), expressed in data space coordinates.

Definition at line 31 of file Axes.cs.

◆ Tag

string VectSharp.Plots.ContinuousAxis.Tag
getset

A tag to identify the axis in the plot.

Definition at line 57 of file Axes.cs.


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