[Gambas-user] Paint.Rectangle question

Rolf-Werner Eilert eilert-sprachen at ...221...
Wed Sep 30 09:59:25 CEST 2015


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





More information about the User mailing list