Drawing¶
Extends TMufasaBitmap with mostly drawing functions.
TMufasaBitmap.FromClient¶
procedure TMufasaBitmap.FromClient(Area: TBox);
Copy client to bitmap.
TMufasaBitmap.ClearAllBut¶
procedure TMufasaBitmap.ClearAllBut(Area: TBox);
Will clear the image, except for the given area.
TMufasaBitmap.AvgBrightness¶
procedure TMufasaBitmap.AvgBrightness(Area: TBox = [0,0,-1,-1]);
Returns a value between 0 and 100 that defines how bright the image is.
TMufasaBitmap.PeakBrightness¶
procedure TMufasaBitmap.PeakBrightness(Area: TBox = [0,0,-1,-1]);
Returns the maximum brightness in the image in the range 0..100
.
TMufasaBitmap.DrawBox¶
procedure TMufasaBitmap.DrawBox(Center:TPoint; Radius:UInt32; Fill: Boolean; Color: Int32);
Draws a TBox onto the TMufasaBitmap
TMufasaBitmap.DrawRect¶
procedure TMufasaBitmap.DrawRect(Rect: TRectangle; Color: Int32);
Draws a TRectangle onto the TMufasaBitmap
TMufasaBitmap.DrawPoly¶
procedure TMufasaBitmap.DrawPoly(Poly: TPointArray; Color: Int32);
Draws a polygon onto the TMufasaBitmap