Update : added function for setting min/max scale

* Added function for setting min/max scale.
* Fix to remove unused params.
Regards to this API, it seems a little verbose if we have had the `setMinScale` and `setMaxScale` APIs.