public static String decode ( Style style ) { if ( style != null ) { if ( style instanceof ShapeStyle ) { return decode ( ( ShapeStyle ) style ) ; } else if ( style instanceof FontStyle ) { return decode ( ( FontStyle ) style ) ; } else if ( style instanceof PictureStyle ) { return decode ( ( PictureStyle ) style ) ; } } return "" ; }
Return the CSS equivalent of the Style object .