public String getTextDecorationString ( ) { if ( textDecoration . isEmpty ( ) ) return "none" ; else { StringBuilder ret = new StringBuilder ( ) ; for ( CSSProperty . TextDecoration dec : textDecoration ) { if ( ret . length ( ) > 0 ) ret . append ( ' ' ) ; ret . append ( dec . toString ( ) ) ; } return ret . toString ( ) ; } }
Returns the text decoration used for the box .