Bạn nào giải thích giùm mình đoạn code này. Mình cảm ơn rất rất nhiều.
LineSegment2D[] Lines = // Points depend on each hue
{ new LineSegment2D ( new Point (32,243), new Point (64,255)),
new LineSegment2D ( new Point (64,16), new Point (32,64)), };
for (int n = 0; n < Lines.Length; n++) // number of lines
{
int S1 = Lines[n].P1.X;
int V1 = Lines[n].P1.Y;
int S2 = Lines[n].P2.X;
int V2 = Lines[n].P2.Y;
}
LineSegment2D[] Lines = // Points depend on each hue
{ new LineSegment2D ( new Point (32,243), new Point (64,255)),
new LineSegment2D ( new Point (64,16), new Point (32,64)), };
for (int n = 0; n < Lines.Length; n++) // number of lines
{
int S1 = Lines[n].P1.X;
int V1 = Lines[n].P1.Y;
int S2 = Lines[n].P2.X;
int V2 = Lines[n].P2.Y;
}