public Resolution getScaled ( double factorX , double factorY ) { Check . superiorStrict ( factorX , 0 ) ; Check . superiorStrict ( factorY , 0 ) ; return new Resolution ( ( int ) ( width * factorX ) , ( int ) ( height * factorY ) , rate ) ; }
Get scaled resolution .