Class TwoPointLineAnnotation
- Namespace
- Loehnert.Waveforms.Annotations
- Assembly
- Loehnert.Waveforms.dll
Represents a line annotation , which is defined by two points.
public class TwoPointLineAnnotation : PathAnnotation, IAnnotation
- Inheritance
-
TwoPointLineAnnotation
- Implements
- Inherited Members
Constructors
TwoPointLineAnnotation(double, double, double, double)
Initializes a new instance of the TwoPointLineAnnotation class.
public TwoPointLineAnnotation(double x1, double y1, double x2, double y2)
Parameters
x1
doubleX of point one.
y1
doubleY of point one.
x2
doubleX of point two.
y2
doubleY of point two.
TwoPointLineAnnotation(Point, Point)
Initializes a new instance of the TwoPointLineAnnotation class.
public TwoPointLineAnnotation(Point p1, Point p2)
Parameters
Properties
X1
Gets the x value for point 1.
public double X1 { get; }
Property Value
X2
Gets the x value for point 2.
public double X2 { get; }
Property Value
Y1
Gets the y value for point 1.
public double Y1 { get; }
Property Value
Y2
Gets the y value for point 2.
public double Y2 { get; }