DrawText() public method

Draws the text specified
public DrawText ( string TextToDraw, Font FontToUse, Brush BrushUsing, RectangleF BoxToDrawWithin ) : SwiftBitmap
TextToDraw string The text to draw.
FontToUse System.Drawing.Font The font to use.
BrushUsing System.Drawing.Brush The brush to use.
BoxToDrawWithin System.Drawing.RectangleF The box to draw within.
return SwiftBitmap
 public void DrawText()
 {
     using (Utilities.Media.SwiftBitmap TestObject = new Utilities.Media.SwiftBitmap(@"..\..\Data\Image\Lenna.jpg"))
     {
         TestObject.DrawText("Test text.", new Font(FontFamily.GenericSansSerif, 20.0f), Brushes.Black, new RectangleF(0, 0, 300, 300)).Save(@".\Testing\LennaDrawText.jpg");
         Assert.True(new Utilities.IO.FileInfo(@".\Testing\LennaDrawText.jpg").ReadBinary().SequenceEqual(new Utilities.IO.FileInfo(@"..\..\BitmapResults\LennaDrawText.jpg").ReadBinary()));
     }
 }