C# Class HasK.Controls.Graph.ChartPoint

Simple square point on chart with specified color and size
Inheritance: ChartRectObject
Afficher le fichier Open project: xHasKx/CSharp.Controls.Graph.Chart Class Usage Examples

Méthodes publiques

Méthode Description
ChartPoint ( Chart chart ) : System

Create simple square point on chart

ChartPoint ( Chart chart, DPoint center ) : System

Create simple square point on chart

ChartPoint ( Chart chart, DPoint center, Color color ) : System

Create simple square point on chart

ChartPoint ( Chart chart, DPoint center, Color color, DSize size ) : System

Create simple square point on chart

Draw ( Graphics g ) : void

Chart will calls this method to draw object

GetRealRect ( Graphics g, double view_scale ) : DRect

Chart will calls this method to determine visible bounds of object with given view scale and graphics

GetScreenRect ( Graphics g, double view_scale ) : RectangleF

Gets the rectangle of object in screen coordinates

Method Details

ChartPoint() public méthode

Create simple square point on chart
public ChartPoint ( Chart chart ) : System
chart Chart Chart for point
Résultat System

ChartPoint() public méthode

Create simple square point on chart
public ChartPoint ( Chart chart, DPoint center ) : System
chart Chart Chart for point
center DPoint The center position of this point, in real coordinates
Résultat System

ChartPoint() public méthode

Create simple square point on chart
public ChartPoint ( Chart chart, DPoint center, Color color ) : System
chart Chart Chart for point
center DPoint The center position of this point, in real coordinates
color Color The color of this point
Résultat System

ChartPoint() public méthode

Create simple square point on chart
public ChartPoint ( Chart chart, DPoint center, Color color, DSize size ) : System
chart Chart Chart for point
center DPoint The center position of this point, in real coordinates
color Color The color of this point
size DSize The size of this point, in screen coordinates
Résultat System

Draw() public méthode

Chart will calls this method to draw object
public Draw ( Graphics g ) : void
g System.Drawing.Graphics Graphics, which should be used for drawing
Résultat void

GetRealRect() public méthode

Chart will calls this method to determine visible bounds of object with given view scale and graphics
public GetRealRect ( Graphics g, double view_scale ) : DRect
g System.Drawing.Graphics Current Graphics object, use it for MeasureStringWidth or something else
view_scale double Current view scale of chart
Résultat DRect

GetScreenRect() public méthode

Gets the rectangle of object in screen coordinates
public GetScreenRect ( Graphics g, double view_scale ) : RectangleF
g System.Drawing.Graphics Current Graphics object, use it for MeasureStringWidth or something else
view_scale double Current view scale of chart
Résultat System.Drawing.RectangleF