[Gambas-user] Draw.Rect
Benoit Minisini
gambas at ...1...
Wed Jul 28 20:24:53 CEST 2004
On Wednesday 28 July 2004 20:15, Rob wrote:
> On Wednesday 28 July 2004 13:58, Benoit Minisini wrote:
> > On Wednesday 28 July 2004 01:56, Leo Barnhoorn wrote:
> > > Hello Benoit,
> > > Is there a way to disable the border by the rectangle.
> >
> > What are you talking about ?
>
> I think he is expecting code like this to generate a red
> rectangle:
>
> Draw.Begin(Drawingarea1)
> Draw.FillColor = 255
> Draw.LineWidth = 0
> Draw.Rect(10,10,50,50)
> Draw.End
>
> It doesn't, it still draws a 1 pixel line and the rectangle's
> interior is transparent..
>
> Rob
>
You must specify Draw.FillStyle = Fill.Solid and Draw.LineStyle = Line.None
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list