src/AircraftTrajectories/Models/Visualisation/LegendCreator.cs
/// <summary>
/// Creates the actual legend image and saves it as a bitmap file
/// </summary>
Creates the actual legend image and saves it as a bitmap file
Creates the actual legend image and saves it as a bitmap file
public void OutputLegendImage()
        {
            Bitmap bitmap = new Bitmap(115, 320);
            GenerateGradient(bitmap);
            TransparentBackground(bitmap, true);
            DrawText(bitmap, true);
            bitmap.Save(Globals.webrootDirectory + "gradientImage.png", ImageFormat.Png);
        }
public void OutputLegendImage ( ) { Bitmap bitmap = new Bitmap ( 115 , 320 ) ; GenerateGradient ( bitmap ) ; TransparentBackground ( bitmap , true ) ; DrawText ( bitmap , true ) ; bitmap . Save ( Globals . webrootDirectory + " " , ImageFormat . Png ) ; }
Creates the actual legend image and saves it as a bitmap file
Creates the actual legend image and saves it as a bitmap file
// specify size bitmap // generate gradient bitmap // fill in background transparent // draw boundary values