Rectangle Constructor

Creates a new instance.
 

Parameters

position

Type: Object
Position containing left and top value.
size

Type: Object
Size containing width and height value.
scaled

Type: Boolean
True to indicate the provided size is the size with scale factored in.