Add project files.
This commit is contained in:
26
TestWinFormsDataVis/TwoPoints.cs
Normal file
26
TestWinFormsDataVis/TwoPoints.cs
Normal file
@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace TestWinFormsDataVis
|
||||
{
|
||||
public class TwoPoints
|
||||
{
|
||||
public int X1 { get; set; }
|
||||
public int Y1 { get; set; }
|
||||
public int X2 { get; set; }
|
||||
public int Y2 { get; set; }
|
||||
|
||||
public Point[] drwPoints(int posShift = 0)
|
||||
{
|
||||
return new Point[] {
|
||||
new Point(X1+posShift,Y1),
|
||||
new Point(X2+posShift,Y2)
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user