Use faster Size.create().

This commit is contained in:
Jürg Lehni 2011-08-16 13:52:31 +02:00
parent 4dd90b440e
commit 4e1dd90549

View file

@ -210,7 +210,7 @@ Path.inject({ statics: new function() {
center = Point.read(arguments, 0, 1);
}
return Path.Oval(new Rectangle(center.subtract(radius),
new Size(radius * 2, radius * 2)));
Size.create(radius * 2, radius * 2)));
},
/**