VectSharp 2.6.1
A light library for C# vector graphics
|
A plot element that draws an axis line and an arrow. More...
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  Graphics.
| |||
void | Plot (Graphics target) | ||
Draw the plot element on the specified target  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... | |
![]() | |
ICoordinateSystem | CoordinateSystem [get] |
The coordinate system used to transform the points from data space to plot space. More... | |
VectSharp.Plots.ContinuousAxis.ContinuousAxis | ( | IReadOnlyList< double > | startPoint, |
IReadOnlyList< double > | endPoint, | ||
IContinuousCoordinateSystem | coordinateSystem | ||
) |
Creates a new ContinuousAxis instance.
startPoint | The starting point of the axis (i.e., the blunt end of the arrow), expressed in data space coordinates. |
endPoint | The ending point of the axis (i.e., the pointy end of the arrow), expressed in data space coordinates. |
coordinateSystem | The coordinate system used to transform the points from data space to plot space. |
void VectSharp.Plots.ContinuousAxis.Plot | ( | Graphics | target | ) |
Draw the plot element on the specified target  Graphics.
target | The Graphics on which to draw. |
Implements VectSharp.Plots.IPlotElement.
|
getset |
|
getset |
The coordinate system used to transform the points from data space to plot space.
Implements VectSharp.Plots.IPlotElement.
|
getset |
|
getset |
|
getset |
|
getset |