Home Segments Index Top Previous Next

622: Mainline

You also can create Rectangle instances with separately specified origins and sizes using the rightBottom: message with a point receiver, rather than the Rectangle class. The following creates a rectangle that is identical to the one created by the example in Segment 620.

16 @ 10 rightBottom: 21 @ 13