Class ColorConverter

java.lang.Object
eu.europa.esig.dss.ws.converter.ColorConverter

public final class ColorConverter extends Object
Contains utils to convert Color to RemoteColor object and vice versa
  • Method Details

    • toRemoteColor

      public static RemoteColor toRemoteColor(Color color)
      Converts Color to RemoteColor object
      Parameters:
      color - Color to convert
      Returns:
      RemoteColor
    • toColor

      public static Color toColor(RemoteColor remoteColor)
      Converts RemoteColor to Color object
      Parameters:
      remoteColor - RemoteColor to convert
      Returns:
      Color