/** * Gets the leading that can be used with this font. * * @param multipliedLeading * a certain multipliedLeading * @return the height of a line */ public float getCalculatedLeading(final float multipliedLeading) { return multipliedLeading * getCalculatedSize(); }
/** * Gets the leading that can be used with this font. * * @param multipliedLeading * a certain multipliedLeading * @return the height of a line */ public float getCalculatedLeading(final float multipliedLeading) { return multipliedLeading * getCalculatedSize(); }
/** * Gets the width of the Chunk in points. * * @return a width in points */ public float getWidthPoint() { if (getImage() != null) { return getImage().getScaledWidth(); } return font.getCalculatedBaseFont(true).getWidthPoint(getContent(), font.getCalculatedSize()) * getHorizontalScaling(); }
/** * Gets the width of the Chunk in points. * * @return a width in points */ public float getWidthPoint() { if (getImage() != null) { return getImage().getScaledWidth(); } return font.getCalculatedBaseFont(true).getWidthPoint(getContent(), font.getCalculatedSize()) * getHorizontalScaling(); }