示例#1
0
  /**
   * Returns the string representation of the given color
   *
   * @param color a color
   * @return the string representation of the given color
   */
  public String getColorString(Color color) {

    return SVGColorsManager.getColorString(color);
  }
示例#2
0
  /**
   * Returns the color corresponding to the given string
   *
   * @param handle a svg handle
   * @param colorString a string representing a color
   * @return the color corresponding to the given string
   */
  public Color getColor(SVGHandle handle, String colorString) {

    return SVGColorsManager.getColor(colorString);
  }