Next: , Up: Rectangle


1.138.1 Rectangle class: instance creation

left: leftNumber right: rightNumber top: topNumber bottom: bottomNumber
Answer a rectangle with the given coordinates


left: leftNumber top: topNumber right: rightNumber bottom: bottomNumber
Answer a rectangle with the given coordinates


new
Answer the (0 @ 0 corner: 0 @ 0) rectangle


origin: originPoint corner: cornerPoint
Answer a rectangle with the given corners


origin: originPoint extent: extentPoint
Answer a rectangle with the given origin and size