AggPas - Anti-Grain Geomertry for Object Pascal

TAgg2D.NoLine

Description

This method turns off stroking of objects being drawn. It turns off both line color and gradient lines. From now, all rendering will be done without border around.

Example

if VG.Attach(Image1.Picture.Bitmap) then begin

  VG.ClearAll(255, 255, 255);

  // Turn stroking Off
  VG.NoLine;

  // HTML color Lime Green #32CD32
  VG.FillColor($32, $CD, $32);
  VG.Rectangle(10, 10, 140, 140);

  // HTML color Indian Red #CD5C5C
  VG.Translate(20, 20);
  VG.FillColor($CD, $5C, $5C);
  VG.Rectangle(10, 10, 140, 140);

  // HTML color Dark Orchid #9932CC
  VG.Translate(20, 20);
  VG.FillColor($99, $32, $CC);
  VG.Rectangle(10, 10, 140, 140);

end;

Screenshot: example