Méthode | Description | |
---|---|---|
Draw ( |
Draws the axis on the given graphics surface.
|
|
GetBoundingBox ( ) : |
Returns the smallest rectangle that completely contains all parts of the axis [including ticks and label].
|
|
PhysicalAxis ( |
Construct
|
|
PhysicalToWorld ( Point p, bool clip ) : double |
Given a physical point on the graphics surface, returns the world value of it's projection onto the axis [i.e. closest point on the axis]. The function is implemented for axes of arbitrary orientation.
|
|
SetWorldLimitsFromPhysical ( Point min, Point max ) : void |
This sets new world limits for the axis from two physical points selected within the plot area.
|
|
WorldToPhysical ( double coord, bool clip ) : PointF |
Given a world coordinate value, returns the physical position of the coordinate along the axis.
|
public Draw ( |
||
g | The graphics surface on which to draw. | |
boundingBox | out: the axis bounding box - the smallest rectangle that /// completely contains all parts of the axis [including ticks and label]. | |
Résultat | void |
public GetBoundingBox ( ) : |
||
Résultat |
public PhysicalAxis ( |
||
a | The axis this is a physical representation of. | |
physicalMin | Point | the physical position of the world minimum axis value. |
physicalMax | Point | the physical position of the world maximum axis value. |
Résultat | System |
public PhysicalToWorld ( Point p, bool clip ) : double | ||
p | Point | Physical point to find corresponding world value of. |
clip | bool | if true, returns a world position outside WorldMin / WorldMax /// range if this is closer to the axis line. If false, such values will /// be clipped to be either WorldMin or WorldMax as appropriate. |
Résultat | double |
public SetWorldLimitsFromPhysical ( Point min, Point max ) : void | ||
min | Point | The upper left point of the selection. |
max | Point | The lower right point of the selection. |
Résultat | void |
public WorldToPhysical ( double coord, bool clip ) : PointF | ||
coord | double | the world coordinate |
clip | bool | if true, the physical position returned will be clipped to the physical max / min position as appropriate if the world value is outside the limits of the axis. |
Résultat | PointF |