Thema: Delphi Rectangle Attribute

Einzelnen Beitrag anzeigen

Benutzerbild von Wolfgang Mix
Wolfgang Mix

Registriert seit: 13. Mai 2009
Ort: Lübeck
1.222 Beiträge
 
Delphi 2005 Personal
 
#4

Re: Rectangle Attribute

  Alt 18. Feb 2010, 16:00
Die Linien liegen nicht alle innerhalb von TImage, probiere:

Delphi-Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
begin
  with Canvas do
  begin
    pen.width:=6;
    rectangle(0,0,100,100);//rectangle(6,6,100,100)
  end;
end;
Mit
rectangle(6,6,100,100) liegen sie innerhalb
Wolfgang Mix
if you can't explain it simply you don't understand it well enough - A. Einstein
Mein Baby:http://www.epubli.de/shop/buch/Grund...41818516/52824
  Mit Zitat antworten Zitat