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 .