RelativeFont (int offset, float minSize) { float multiplier = (float)Math.pow(MULTIPLIER, offset); return new RelativeFont(myFamily, myStyle, mySize != null ? mySize * multiplier : multiplier, minSize); }