TAgg2D.ClearAll(c)
TAgg2D.ClearAll(r, g, b, a)
Description
Erases the whole surface of attached TBitmap to the color provided.
Parameters
c: TAggColor [*]
Erase color in one data structure (r, g, b, a).
r: byte
Red channel of Erase color [0..255].
g: byte
Green channel of Erase color [0..255].
b: byte
Blue channel of Erase color [0..255].
a: byte = 255 (Opaque)
Alpha transparency of Erase color [(transparent) 0..255 (opaque)]
Example
if VG.Attach(Image1.Picture.Bitmap) then begin // Erasing whole background to Fuchsia VG.ClearAll(255, 0, 255); end;


