Now I understand, thank you for this example! Rolf
Am 30.09.2015 12:26, schrieb Fabien Bodard: > Paint.rectangle(x,y,width,height) > > Paint.brush=paint.color(color.red) > > Paint.fill(true) 'true maintain the current path active > > Paint.brush=paint.color(yellow) > Paint.linewidth=2 > Paint.Stroke > > You will get a red rectangle with a two pix yellow border > Is Paint.Rectangle to draw a filled rectangle or an empty one? > > I tried > > Paint.LineWidth = 1 > Paint.Color(Color.Black) > Paint.Rectangle(TabelleX, TabelleY, TblSpalteRechts[tblAnzSpalten] > - TabelleX, cy - TabelleY) > Paint.Fill() > > and get a black filled rectangle. Even Paint.Color(Color.Transparent) > doesn't help. > > Did I get this wrong, or is it buggy? Better to use Line? But then... > see my first question :) > > Thanks for any help > > Rolf > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user