Method | Description | |
---|---|---|
ChartRectObject ( |
Create base class for all rect-like objects
|
|
GetRealRect ( |
Chart will calls this method to determine visible bounds of object with given view scale and graphics
|
|
GetScreenRect ( |
Gets the rectangle of object in screen coordinates
|
Method | Description | |
---|---|---|
DrawStringCenter ( |
Draw text on the center of rect object
|
public ChartRectObject ( |
||
chart | ||
return | System |
protected DrawStringCenter ( |
||
g | Graphics object to draw string | |
text | string | Text to draw on object |
return | void |
public abstract GetRealRect ( |
||
g | Current Graphics object, use it for MeasureStringWidth or something else | |
view_scale | double | Current view scale of chart |
return |
public GetScreenRect ( |
||
g | Current Graphics object, use it for MeasureStringWidth or something else | |
view_scale | double | Current view scale of chart |
return |