Adds a text outline to the path.
Namespace:
Aurigma.GraphicsMill.AdvancedDrawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public void DrawText( Text text )
using (var bitmap = new Bitmap(160, 120, PixelFormat.Format24bppRgb, RgbColor.White)) using (var graphics = bitmap.GetAdvancedGraphics()) using (var path = new Path()) { path.DrawText(new PlainText("Example", FontRegistry.Installed.CreateFont("Arial", 26, 96, 96), 15, 75)); graphics.DrawPath(new Pen(RgbColor.Green), path); bitmap.Save(@"Images\Output\out.png"); }