public static float getRotatedWidth(final Dimension dimension, final float angle) {
        return getRotatedWidth(dimension.width, dimension.height, angle);
    }
public static float getRotatedWidth ( final Dimension dimension , final float angle ) { return getRotatedWidth ( dimension . width , dimension . height , angle ) ; }
@param dimension Unrotated dimension
@param angle Angle
@return The width of the rotated label