A class that handles the basic attributes of a line segment.
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class LineBase : ICloneable, ISerializable
<SerializableAttribute> _ Public Class LineBase _ Implements ICloneable, ISerializable
[SerializableAttribute] public ref class LineBase : ICloneable, ISerializable
| All Members | Constructors | Methods | Properties | Fields | |
| Icon | Member | Description |
|---|---|---|
| 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) | (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.) | |
| schema0 |
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()() | (Inherited from Object.) | |
| Width |
The pen width used to draw the Line, in points (1/72 inch)
|
