add setScaleType method