Re: creating a Rectangle
Posted by
Stéphane Ducasse on
Apr 06, 2011; 11:05am
URL: https://forum.world.st/creating-a-Rectangle-tp3430244p3430488.html
Give us the code!
In VW and Pharo side by side and their results
Stef
On Apr 6, 2011, at 10:31 AM, Andre Hora wrote:
> Hello,
>
> To create a Rectangle in Pharo with the method Rectangle>>origin:corner:, you must provide the top left and the bottom right points. With others you have a Rectangle with area equals to zero.
> I just noticed that in VW it is possible create a Rectangle with other points (bottom right and top left, bottom left and top right, ...).
> So, shouldn't Pharo Rectangle allow the same?
>
> regards,
>
> --
> Andre Hora
>