private void btn_GRB_Click(object sender, RoutedEventArgs e)
 {
     simplePolygon = new SimplePolygon();
     simplePolygon.Initialize(10, 30, 570, 30, 370);
     drawPoints();
     drawingLine();
     drawingEmitLine();
     resizeCanvas();
 }
Exemple #2
0
 static void Main(string[] args)
 {
     SimplePolygon sp = new SimplePolygon();
     sp.Initialize(10, -50, 50, -50, 50);
     for (int i = 0; i < sp.GeometryPoints.Length; i++)
     {
         Console.WriteLine(sp.GeometryPoints[i]);
     }
     Console.ReadKey();
 }
Exemple #3
0
        static void Main(string[] args)
        {
            SimplePolygon sp = new SimplePolygon();

            sp.Initialize(10, -50, 50, -50, 50);
            for (int i = 0; i < sp.GeometryPoints.Length; i++)
            {
                Console.WriteLine(sp.GeometryPoints[i]);
            }
            Console.ReadKey();
        }