C# Class NPlot.Marker

Encapsulates functionality relating to markers used by the PointPlot class.
显示文件 Open project: mono/nplot-gtk Class Usage Examples

Public Methods

Method Description
Draw ( Graphics g, int x, int y ) : void

Draws the marker at the given position

Marker ( ) : System

Default constructor.

Marker ( MarkerType markertype ) : System

Constructor

Marker ( MarkerType markertype, int size ) : System

Constructor

Marker ( MarkerType markertype, int size, Color color ) : System

Constructor

Marker ( MarkerType markertype, int size, Pen pen ) : System

Constructor

Marker ( MarkerType markertype, int size, Pen pen, bool fill ) : System

Constructor

Method Details

Draw() public method

Draws the marker at the given position
public Draw ( Graphics g, int x, int y ) : void
g System.Drawing.Graphics The graphics surface on which to draw.
x int The [physical] x position to draw the marker.
y int The [physical] y position to draw the marker.
return void

Marker() public method

Default constructor.
public Marker ( ) : System
return System

Marker() public method

Constructor
public Marker ( MarkerType markertype ) : System
markertype MarkerType The marker type.
return System

Marker() public method

Constructor
public Marker ( MarkerType markertype, int size ) : System
markertype MarkerType The marker type.
size int The marker size.
return System

Marker() public method

Constructor
public Marker ( MarkerType markertype, int size, Color color ) : System
markertype MarkerType The marker type.
size int The marker size.
color Color The marker color.
return System

Marker() public method

Constructor
public Marker ( MarkerType markertype, int size, Pen pen ) : System
markertype MarkerType The marker type.
size int The marker size.
pen System.Drawing.Pen The marker Pen.
return System

Marker() public method

Constructor
public Marker ( MarkerType markertype, int size, Pen pen, bool fill ) : System
markertype MarkerType The marker type.
size int The marker size.
pen System.Drawing.Pen The marker Pen.
fill bool The fill flag.
return System