A class that represents a line segment object on the graph. A list of
GraphObj objects is maintained by the GraphObjList collection class.
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class LineObj : GraphObj, ICloneable, ISerializable
<SerializableAttribute> _ Public Class LineObj _ Inherits GraphObj _ Implements ICloneable, ISerializable
[SerializableAttribute] public ref class LineObj : public GraphObj, ICloneable, ISerializable
| All Members | Constructors | Methods | Properties | Fields | |
| Icon | Member | Description |
|---|---|---|
| LineObjLineObjNew(Color, Double, Double, Double, Double) |
A constructor that allows the position, color, and size of the
LineObj to be pre-specified.
| |
| LineObjLineObjNew(Double, Double, Double, Double) |
A constructor that allows only the position of the
line to be pre-specified. All other properties are set to
default values
| |
| LineObjLineObjNew()() |
Default constructor -- places the LineObj at location
(0,0) to (1,1). All other values are defaulted.
| |
| LineObjLineObjNew(LineObj) |
The Copy Constructor
| |
| Clone()() |
Typesafe, deep-copy clone method.
| |
| Draw(Graphics, PaneBase, Single) |
Render this object to the specified Graphics device.
(Overrides GraphObj.Draw(Graphics, PaneBase, Single).) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetCoords(PaneBase, Graphics, Single, String%, String%) |
Determines the shape type and Coords values for this GraphObj
(Overrides GraphObj.GetCoords(PaneBase, Graphics, Single, String%, String%).) | |
| GetHashCode()() | Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetObjectData(SerializationInfo, StreamingContext) |
Populates a SerializationInfo instance with the data needed to serialize the target object
(Overrides GraphObj.GetObjectData(SerializationInfo, StreamingContext).) | |
| GetType()() | Gets the Type of the current instance. (Inherited from Object.) | |
| IsClippedToChartRect |
Gets or sets a value that determines whether or not the rendering of this GraphObj
will be clipped to the Rect.
(Inherited from GraphObj.) | |
| IsInFrontOfData | (Inherited from GraphObj.) | |
| IsVisible |
Gets or sets a value that determines if this GraphObj will be
visible in the graph. true displays the item, false hides it.
(Inherited from GraphObj.) | |
| Line |
A LineBase class that contains the attributes for drawing this
LineObj.
| |
| Link |
Gets or sets the hyperlink information for this GraphObj.
(Inherited from GraphObj.) | |
| Location | (Inherited from GraphObj.) | |
| MemberwiseClone()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| PointInBox(PointF, PaneBase, Graphics, Single) |
Determine if the specified screen point lies inside the bounding box of this
LineObj.
(Overrides GraphObj.PointInBox(PointF, PaneBase, Graphics, Single).) | |
| schema2 |
Current schema value that defines the version of the serialized file
| |
| ICloneable..::Clone()() |
Implement the ICloneable interface in a typesafe manner by just
calling the typed version of Clone()() | |
| Tag |
A tag object for use by the user. This can be used to store additional
information associated with the GraphObj. ZedGraph does
not use this value for any purpose.
(Inherited from GraphObj.) | |
| ToString()() | (Inherited from Object.) | |
| ZOrder |
Gets or sets a value that determines the z-order "depth" of this
item relative to other graphic objects.
(Inherited from GraphObj.) |
This should not be confused with the LineItem class, which represents
a set of points plotted together as a "curve". The LineObj class is
a single line segment, drawn as a "decoration" on the chart.
