Java Color Encode encodeColor(Color color)

Here you can find the source of encodeColor(Color color)

Description

encode Color

License

Open Source License

Declaration

public static String encodeColor(Color color) 

Method Source Code

//package com.java2s;

import java.awt.*;

public class Main {
    public static String encodeColor(Color color) {
        return color.getRed() + " " + color.getGreen() + " "
                + color.getBlue() + " " + color.getAlpha();
    }/*from w ww .j  a v  a  2s.  co  m*/
}

Related

  1. encode(Color color)
  2. encode(Color color)
  3. encode(Color color)
  4. encode(java.awt.Color c)
  5. encodeColor(Color color)
  6. encodeColor(Color color)
  7. encodeColor(int r, int g, int b)
  8. encodeColorForCss(Color color)
  9. encodeRGB(Color color)