Android Color Blend getAlpha(int color)

Here you can find the source of getAlpha(int color)

Description

get Alpha

Declaration

public static int getAlpha(int color) 

Method Source Code

//package com.java2s;

public class Main {
    public static int getAlpha(int color) {
        return ((0xff000000 & color) >> 24);
    }//w w  w  .  j  a  v  a  2 s.  c  o m
}

Related

  1. createColorFilterByAlpha( float alpha)
  2. createColorFilterByColor(int color)
  3. createColorFilterByColor( int color, float alpha)
  4. createDarkerColorFilter( float darkRatio)
  5. createNightColorFilter()