Class Line
- Namespace
- ScottPlot
- Assembly
- ScottPlot.dll
[Obsolete("use CoordinateLine or PixelLine", true)]
public class Line
- Inheritance
-
Line
- Inherited Members
- Extension Methods
Constructors
Line(Coordinates, Coordinates)
Create a default line using coordinates
public Line(Coordinates start, Coordinates end)
Parameters
start
Coordinatesend
Coordinates
Line(Coordinates, Coordinates, LineStyle)
Create a styled line using coordinates, LinePattern, and LineStyle information
public Line(Coordinates start, Coordinates end, LineStyle style)
Parameters
start
Coordinatesend
Coordinatesstyle
LineStyle
Line(double, double, double, double)
Create a default line using x and y values
public Line(double x1, double y1, double x2, double y2)
Parameters
Line(double, double, double, double, LineStyle)
Create a styled line using x and y values, LinePattern, and LineStyle information
public Line(double x1, double y1, double x2, double y2, LineStyle style)
Parameters
Properties
Default
public static Line Default { get; }
Property Value
End
public Coordinates End { get; set; }
Property Value
Start
public Coordinates Start { get; set; }
Property Value
Style
public LineStyle Style { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.