NPlot Documented Class Library

HorizontalLine Members

HorizontalLine 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

HorizontalLine Overloaded. Initializes a new instance of the HorizontalLine class.

Public Instance Properties

Label A label to associate with the plot - used in the legend.
LengthScale The line length is multiplied by this amount. Default corresponds to a value of 1.0.
OrdinateValue ordinate (Y) value to draw horizontal line at.
Pen Pen to use to draw the horizontal line.
PixelIndent Each end of the line is indented by this many pixels.
ShowInLegend Whether or not to include an entry for this plot in the legend if it exists.

Public Instance Methods

Draw Draws the horizontal line plot on a GDI+ surface against the provided x and y axes.
DrawInLegend Draws a representation of the horizontal line in the legend.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
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.
SuggestXAxis Returns null indicating that x extremities of the line are variable.
SuggestYAxis Returns a y-axis that is suitable for drawing this plot.
ToString (inherited from Object)Returns a String that represents the current Object.
WriteData Writes text data describing the horizontal line object to the supplied string builder. It is possible to specify that the data will be written only if the line is in the specified region.

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

HorizontalLine Class | NPlot Namespace