public float getA()

in shared/java/ColorType.java [391:404]


    public float getA(int color) {
        switch (this) {
            case RGBA_8888:
                return (color & 0xFF) / 255f;
            case BGRA_8888:
                return (color & 0xFF) / 255f;
            case RGBA_1010102:
                return (color & 0b11) / 3f;
            case BGRA_1010102:
                return (color & 0b11) / 3f;
            default:
                throw new IllegalArgumentException("getA(int) is not supported on ColorType." + this);
        }
    }