to Color from r g b value - Android Graphics

Android examples for Graphics:Color Value

Description

to Color from r g b value

Demo Code


//package com.java2s;
import android.graphics.Color;

public class Main {
    public static int toColor(int r, int g, int b) {

        return Color.rgb(r, g, b);

    }/*w w  w .  j  a  v  a 2 s  .co m*/
}

Related Tutorials