Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com> Co-authored-by: sigonasr2 <sigonasr2@gmail.com>main
parent
2c9357ab6a
commit
b2dda88107
Binary file not shown.
@ -1,13 +1,30 @@ |
||||
package sig.engine; |
||||
|
||||
public enum Alpha { |
||||
ALPHA0, |
||||
ALPHA32, |
||||
ALPHA64, |
||||
ALPHA96, |
||||
ALPHA128, |
||||
ALPHA160, |
||||
ALPHA192, |
||||
ALPHA224, |
||||
ALPHA256; |
||||
ALPHA0(1,1), |
||||
ALPHA32(7,8), //7/8
|
||||
ALPHA64(3,4), //3/4
|
||||
ALPHA96(5,8), //5/8
|
||||
ALPHA128(1,2), //1/2
|
||||
ALPHA160(3,8), //3/8
|
||||
ALPHA192(1,4), //1/4
|
||||
ALPHA224(1,8), //1/8
|
||||
ALPHA256(0,8); //0/8
|
||||
|
||||
int A,B; |
||||
|
||||
/** For every B pixels, A are visible.*/ |
||||
Alpha(int A,int B) { |
||||
this.A=A; |
||||
this.B=B; |
||||
} |
||||
|
||||
public int getA() { |
||||
return A; |
||||
} |
||||
|
||||
public int getB() { |
||||
return B; |
||||
} |
||||
|
||||
} |
||||
|
Loading…
Reference in new issue