2 var <>width = 0, <>height = 0;
4 *new { arg width=0, height=0;
5 ^super.newCopyArgs(width, height);
10 asRect { ^Rect(0,0,width,height); }
12 asPoint { ^Point(width,height); }
15 ^("Size(" ++ width ++ ", " ++ height ++ ")");
19 ^ other respondsTo: #[\width, \height] and: {
20 (other.width == width) && (other.height == height)
26 asSize { ^Size(this, this) }