public void scale ( float scale ) { if ( scale != 1.0f ) { left = ( int ) ( left * scale + 0.5f ) ; top = ( int ) ( top * scale + 0.5f ) ; right = ( int ) ( right * scale + 0.5f ) ; bottom = ( int ) ( bottom * scale + 0.5f ) ; } }
Scales up the rect by the given scale .