A class that encapsulates Border (frame) properties for an object. The Border class
is used in a variety of ZedGraph objects to handle the drawing of the Border around the object.
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class Border : LineBase, ISerializable, ICloneable
<SerializableAttribute> _ Public Class Border _ Inherits LineBase _ Implements ISerializable, ICloneable
[SerializableAttribute] public ref class Border : public LineBase, ISerializable, ICloneable
| All Members | Constructors | Methods | Properties | Fields | |
| Icon | Member | Description |
|---|---|---|
| BorderBorderNew()() |
The default constructor. Initialized to default values.
| |
| BorderBorderNew(Boolean, Color, Single) |
Constructor that specifies the visibility, color and penWidth of the Border.
| |
| BorderBorderNew(Color, Single) |
Constructor that specifies the color and penWidth of the Border.
| |
| BorderBorderNew(Border) |
The Copy Constructor
| |
| Clone()() |
Typesafe, deep-copy clone method.
| |
| 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.
(Inherited from LineBase.) | |
| DashOff |
The "Dash Off" mode for drawing the line.
(Inherited from LineBase.) | |
| DashOn |
The "Dash On" mode for drawing the line.
(Inherited from LineBase.) | |
| Draw(Graphics, PaneBase, Single, RectangleF) |
Draw the specified Border (RectangleF) using the properties of
this Border object.
| |
| 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
(Overrides LineBase.GetObjectData(SerializationInfo, StreamingContext).) | |
| GetPen(PaneBase, Single) | (Inherited from LineBase.) | |
| GetPen(PaneBase, Single, PointPair) | (Inherited from LineBase.) | |
| GetType()() | Gets the Type of the current instance. (Inherited from Object.) | |
| GradientFill |
Gets or sets a custom Fill class.
(Inherited from LineBase.) | |
| InflateFactor |
Gets or sets the amount of inflation to be done on the rectangle
before rendering.
| |
| IsAntiAlias |
Gets or sets a value that determines if the lines are drawn using
Anti-Aliasing capabilities from the Graphics class.
(Inherited from LineBase.) | |
| IsVisible |
Gets or sets a property that shows or hides the Line.
(Inherited from LineBase.) | |
| MemberwiseClone()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| schema |
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.
(Inherited from LineBase.) | |
| 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)
(Inherited from LineBase.) |
