ZedGraph LogoZedGraph Class Library Documentation
LineBase Class
NamespacesZedGraphLineBase
A class that handles the basic attributes of a line segment.
Declaration Syntax
C#Visual BasicVisual C++
<SerializableAttribute> _
Public Class LineBase _
	Implements ICloneable, ISerializable
[SerializableAttribute]
public ref class LineBase : ICloneable, 
	ISerializable
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
LineBaseLineBaseNew()()
Default constructor that sets all LineBase properties to default values as defined in the LineBase..::Default class.

LineBaseLineBaseNew(Color)
Constructor that sets the color property to the specified value, and sets the remaining LineBase properties to default values as defined in the LineBase..::Default class.

LineBaseLineBaseNew(LineBase)
The Copy Constructor

Color
The color of the Line. Note that this color value can be overridden if the GradientFill.Type is one of the GradientByX, GradientByY, GradientByZ, and GradientByColorValue types.

DashOff
The "Dash Off" mode for drawing the line.

DashOn
The "Dash On" mode for drawing the line.

Equals(Object)
Determines whether the specified Object is equal to the current 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.)
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

GetPen(PaneBase, Single)
Create a Pen object based on the properties of this LineBase.

GetPen(PaneBase, Single, PointPair)
Create a Pen object based on the properties of this LineBase.

GetType()()
Gets the Type of the current instance.
(Inherited from Object.)
GradientFill
Gets or sets a custom Fill class.

IsAntiAlias
Gets or sets a value that determines if the lines are drawn using Anti-Aliasing capabilities from the Graphics class.

IsVisible
Gets or sets a property that shows or hides the Line.

MemberwiseClone()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
static memberschema0
Current schema value that defines the version of the serialized file

Style
The style of the Line, defined as a DashStyle enum. This allows the line to be solid, dashed, or dotted.

ICloneable..::Clone()()
Implement the ICloneable interface in a typesafe manner by just calling the typed version of Clone.

ToString()()
Returns a String that represents the current Object.
(Inherited from Object.)
Width
The pen width used to draw the Line, in points (1/72 inch)

Remarks
This is the base class for Line and Border classes.
Inheritance Hierarchy

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621