unit Unit13;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Objects,
System.UIConsts, FMX.Colors;
type
TForm13 =
class(TForm)
Image1: TImage;
Button1: TButton;
ColorBox1: TColorBox;
Button2: TButton;
procedure Button1Click(Sender: TObject);
procedure Button2Click(Sender: TObject);
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
end;
var
Form13: TForm13;
implementation
{$R *.fmx}
procedure TForm13.Button1Click(Sender: TObject);
begin
Image1.Canvas.BeginScene;
Image1.Bitmap.Canvas.Clear(claLime);
Image1.Canvas.EndScene;
end;
procedure TForm13.Button2Click(Sender: TObject);
begin
Image1.Canvas.BeginScene;
Image1.Bitmap.Canvas.Clear(claBlack);
Image1.Canvas.EndScene;
end;
end.