code: public static String getDashString( float[] dashArray ) {
          StringBuilder sb = null;
          for( float f : dashArray ) {
              if (sb == null) {
                  sb = new StringBuilder(String.valueOf(f));
              } else {
                  sb.append(",");
                  sb.append(String.valueOf(f));
              }
          }
          return sb.toString();
      }
docs: Converts teh array to string.
  
  @param dashArray the dash array.
  @return the converted string.