C# Class NPlot.TextItem

This class implements drawing text against two physical axes.
Inheritance: IDrawable
Afficher le fichier Open project: GridProtectionAlliance/openHistorian

Méthodes publiques

Méthode Description
Draw ( Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis ) : void

Draws the text on a plot surface.

TextItem ( PointD position, string text ) : System.Drawing

Constructor

Private Methods

Méthode Description
Init ( ) : void

Method Details

Draw() public méthode

Draws the text on a plot surface.
public Draw ( Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis ) : void
g System.Drawing.Graphics graphics surface on which to draw
xAxis PhysicalAxis The X-Axis to draw against.
yAxis PhysicalAxis The Y-Axis to draw against.
Résultat void

TextItem() public méthode

Constructor
public TextItem ( PointD position, string text ) : System.Drawing
position PointD The position the text starts.
text string The text.
Résultat System.Drawing