NPlot Documented Class Library

PhysicalAxis Members

PhysicalAxis overview

Public Static Methods

Equals (inherited from Object)Determines whether the specified Object instances are considered equal.
ReferenceEquals (inherited from Object)Determines whether the specified Object instances are the same instance.

Public Instance Constructors

PhysicalAxis Constructor Construct

Public Instance Properties

Axis The axis this object adds physical extents to.
PhysicalLength The length in pixels of the axis.
PhysicalMax The physical position corresponding to WorldMax.
PhysicalMin The physical position corresponding to WorldMin.
PixelWorldLength The length in world coordinates of one pixel.

Public Instance Methods

Draw Draws the axis on the given graphics surface.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetBoundingBox Returns the smallest rectangle that completely contains all parts of the axis [including ticks and label].
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
PhysicalToWorld 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 This sets new world limits for the axis from two physical points selected within the plot area.
ToString (inherited from Object)Returns a String that represents the current Object.
WorldToPhysical Given a world coordinate value, returns the physical position of the coordinate along the axis.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

PhysicalAxis Class | NPlot Namespace