Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var visualisator = new Visualiser(new Size(1000, 1000));

            visualisator.MakeExampleImage("output.bmp",
                                          rectangleCount: 1000,
                                          maxRectangleSize: new Size(10, 10));
        }
Ejemplo n.º 2
0
 public void TearDown()
 {
     if (currentContext.Result.FailCount != 0)
     {
         var visualisator = new Visualiser(new Size(600, 600));
         visualisator.RenderCurrentConfig(cloud, filePath);
         Console.WriteLine("Tag cloud visualization saved to file " + filePath);
     }
 }