C# Class NPlot.MarkerItem

Class for placement of a single marker.
Inheritance: IDrawable
Datei anzeigen Open project: mono/nplot-gtk Class Usage Examples

Public Methods

Method Description
Draw ( System g, PhysicalAxis xAxis, PhysicalAxis yAxis ) : void

Draws the marker on a plot surface.

MarkerItem ( Marker marker, PointD point ) : System

Constructor

MarkerItem ( Marker marker, double x, double y ) : System

Constructor

MarkerItem ( PointD point ) : System

Constructs a square marker at the (world) point point.

MarkerItem ( double x, double y ) : System

Default constructor - a square black marker.

Method Details

Draw() public method

Draws the marker on a plot surface.
public Draw ( System g, PhysicalAxis xAxis, PhysicalAxis yAxis ) : void
g System graphics surface on which to draw
xAxis PhysicalAxis The X-Axis to draw against.
yAxis PhysicalAxis The Y-Axis to draw against.
return void

MarkerItem() public method

Constructor
public MarkerItem ( Marker marker, PointD point ) : System
marker Marker The marker to place on the chart.
point PointD The world position of the marker
return System

MarkerItem() public method

Constructor
public MarkerItem ( Marker marker, double x, double y ) : System
marker Marker The marker to place on the chart.
x double The world x position of the marker
y double The world y position of the marker
return System

MarkerItem() public method

Constructs a square marker at the (world) point point.
public MarkerItem ( PointD point ) : System
point PointD the world position at which to place the marker
return System

MarkerItem() public method

Default constructor - a square black marker.
public MarkerItem ( double x, double y ) : System
x double The world x position of the marker
y double The world y position of the marker
return System