C# 클래스 HasK.Controls.Graph.ChartPoint

Simple square point on chart with specified color and size
상속: ChartRectObject
파일 보기 프로젝트 열기: xHasKx/CSharp.Controls.Graph.Chart 1 사용 예제들

공개 메소드들

메소드 설명
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