A class representing all the characteristics of the Line
segments that make up a curve on the graph.
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class Line : LineBase, ICloneable, ISerializable
<SerializableAttribute> _ Public Class Line _ Inherits LineBase _ Implements ICloneable, ISerializable
[SerializableAttribute] public ref class Line : public LineBase, ICloneable, ISerializable
| All Members | Constructors | Methods | Properties | Fields | |
| Icon | Member | Description |
|---|---|---|
| LineLineNew()() |
Default constructor that sets all Line properties to default
values as defined in the Line..::Default class.
| |
| LineLineNew(Color) |
Constructor that sets the color property to the specified value, and sets
the remaining Line properties to default
values as defined in the Line..::Default class.
| |
| LineLineNew(Line) |
The Copy Constructor
| |
| BuildLowPointsArray(GraphPane, CurveItem, array<PointF>[]()%, Int32%) |
Build an array of PointF values (pixel coordinates) that represents
the low values for the current curve.
| |
| BuildPointsArray(GraphPane, CurveItem, array<PointF>[]()%, Int32%) |
Build an array of PointF values (pixel coordinates) that represents
the current curve. Note that this drawing routine ignores Missing
values, but it does not "break" the line to indicate values are missing.
| |
| Clone()() |
Typesafe, deep-copy clone method.
| |
| CloseCurve(GraphPane, CurveItem, array<PointF>[](), Int32, Double, GraphicsPath) |
Close off a GraphicsPath that defines a curve
| |
| 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, GraphPane, CurveItem, Single) |
Do all rendering associated with this Line to the specified
Graphics device. This method is normally only
called by the Draw method of the parent LineItem object.
| |
| DrawCurve(Graphics, GraphPane, CurveItem, Single) |
Draw the this CurveItem to the specified Graphics
device. The format (stair-step or line) of the curve is
defined by the StepType property. The routine
only draws the line segments; the symbols are drawn by the
Draw(Graphics, GraphPane, LineItem, Single, Boolean) method. This method
is normally only called by the Draw method of the
CurveItem object
| |
| DrawCurveOriginal(Graphics, GraphPane, CurveItem, Single) |
Draw the this CurveItem to the specified Graphics
device. The format (stair-step or line) of the curve is
defined by the StepType property. The routine
only draws the line segments; the symbols are drawn by the
Draw(Graphics, GraphPane, LineItem, Single, Boolean) method. This method
is normally only called by the Draw method of the
CurveItem object
| |
| DrawSegment(Graphics, GraphPane, Single, Single, Single, Single, Single) |
Render a single Line segment to the specified
Graphics device.
| |
| DrawSmoothFilledCurve(Graphics, GraphPane, CurveItem, Single) |
Draw the this CurveItem to the specified Graphics
device using the specified smoothing property (SmoothTension).
The routine draws the line segments and the area fill (if any, see FillType;
the symbols are drawn by the Draw(Graphics, GraphPane, LineItem, Single, Boolean) method. This method
is normally only called by the Draw method of the
CurveItem object. Note that the StepType property
is ignored for smooth lines (e.g., when IsSmooth is true).
| |
| DrawSticks(Graphics, GraphPane, CurveItem, Single) | ||
| Equals(Object) | (Inherited from Object.) | |
| Fill |
Gets or sets the Fill data for this
Line.
| |
| 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.) | |
| IsAntiAlias |
Gets or sets a value that determines if the lines are drawn using
Anti-Aliasing capabilities from the Graphics class.
(Inherited from LineBase.) | |
| IsOptimizedDraw |
Gets or sets a boolean value that determines if this Line will be drawn with
optimizations enabled.
| |
| IsSmooth |
Gets or sets a property that determines if this Line
will be drawn smooth. The "smoothness" is controlled by
the SmoothTension property.
| |
| 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
| |
| SmoothTension |
Gets or sets a property that determines the smoothing tension
for this Line. This property is only used if
IsSmooth is true. A tension value 0.0 will just
draw ordinary line segments like an unsmoothed line. A tension
value of 1.0 will be smooth. Values greater than 1.0 will generally
give odd results.
| |
| StepType |
Determines if the CurveItem will be drawn by directly connecting the
points from the Points data collection,
or if the curve will be a "stair-step" in which the points are
connected by a series of horizontal and vertical lines that
represent discrete, constant values. Note that the values can
be forward oriented ForwardStep (StepType) or
rearward oriented RearwardStep.
That is, the points are defined at the beginning or end
of the constant value for which they apply, respectively.
The StepType property is ignored for lines
that have IsSmooth set to true.
| |
| 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.) |
