NPlot Documented Class Library

LegendBase Members

LegendBase 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

LegendBase Constructor Constructor.

Public Instance Properties

AutoScaleText Whether or not to auto scale text in the legend according the physical dimensions of the plot surface.
BackgroundColor The background color of the legend.
BorderColor The color of the legend border.
BorderStyle The border style to use for the legend.
Font The font used to draw text in the legend.
NumberItemsHorizontally Setting this does two things. First of all, it sets the maximum number of items in the legend horizontally. Second of all, it makes the legend grow vertically (as it must given this constraint).
NumberItemsVertically Setting this does two things. First of all, it sets the maximum number of items in the legend vertically. Second of all, it makes the legend grow horizontally (as it must given this constraint).
TextColor The color used to draw text in the legend.

Public Instance Methods

Draw Draw The legend
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetBoundingBox Get the bounding box of the rectangle.
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.
ToString (inherited from Object)Returns a String that represents the current Object.

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

LegendBase Class | NPlot Namespace