public void setPadding ( float padding ) { if ( Float . isNaN ( padding_right ) ) { setPadding_right ( padding ) ; } if ( Float . isNaN ( padding_left ) ) { setPadding_left ( padding ) ; } if ( Float . isNaN ( padding_top ) ) { setPadding_top ( padding ) ; } if ( Float . isNaN ( padding_bottom ) ) { setPadding_bottom ( padding ) ; } }
Sets the padding parameters if they are undefined .