C# Класс HasK.Controls.Graph.ChartPoint

Simple square point on chart with specified color and size
Наследование: ChartRectObject
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

ChartPoint() публичный Метод

Create simple square point on chart
public ChartPoint ( Chart chart ) : System
chart Chart Chart for point
Результат System

ChartPoint() публичный Метод

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
Результат System

ChartPoint() публичный Метод

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
Результат System

ChartPoint() публичный Метод

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
Результат System

Draw() публичный Метод

Chart will calls this method to draw object
public Draw ( Graphics g ) : void
g System.Drawing.Graphics Graphics, which should be used for drawing
Результат void

GetRealRect() публичный Метод

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
Результат DRect

GetScreenRect() публичный Метод

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
Результат System.Drawing.RectangleF