Maven module :un.api : api-image :
Class :
un.api.color.AlphaBlending
Extends/Implements :
un.api.color.AbstractBlending
Subclasses : -
Variables :
DEFAULT,
CLEAR,
SRC,
DST,
XOR,
LIGHTER,
SRC_OVER,
SRC_IN,
SRC_OUT,
SRC_ATOP,
DST_OVER,
DST_IN,
DST_OUT,
DST_ATOP,
alpha
Functions :
getType,
getAlpha,
create,
copy,
src,
dst,
srcOver,
dstOver,
srcIn,
dstIn,
srcOut,
dstOut,
srcAtop,
dstAtop,
xor,
porterDuffPreMul,
porterDuffPreMul,
porterDuff,
porterDuff
public AlphaBlending
DEFAULT
public int
CLEAR
public int
SRC
public int
DST
public int
XOR
public int
LIGHTER
public int
SRC_OVER
public int
SRC_IN
public int
SRC_OUT
public int
SRC_ATOP
public int
DST_OVER
public int
DST_IN
public int
DST_OUT
public int
DST_ATOP
protected float
alpha
public int
getType ()
public float
getAlpha ()
public AlphaBlending
create (int type, float alpha)
public Color
copy (Color a, Color b)
public Color
src (Color a, Color b)
public Color
dst (Color a, Color b)
public Color
srcOver (Color a, Color b)
public Color
dstOver (Color a, Color b)
public Color
srcIn (Color a, Color b)
public Color
dstIn (Color a, Color b)
public Color
srcOut (Color a, Color b)
public Color
dstOut (Color a, Color b)
public Color
srcAtop (Color a, Color b)
public Color
dstAtop (Color a, Color b)
public Color
xor (Color a, Color b)
public float
porterDuffPreMul (float Fa, float Cs, float Fb, float Cb)
public void
porterDuffPreMul (float Fa, float[] Cs, int cso, float Fb, float[] Cb, int cbo, float[] buffer, int bo)
public float
porterDuff (float αs, float Fa, float Cs, float αb, float Fb, float Cb)
public void
porterDuff (float αs, float Fa, float[] Cs, int cso, float αb, float Fb, float Cb, int cbo, float[] buffer, int bo)
http://en.wikipedia.org/wiki/Alpha_blending#Alpha_blending
http://dev.w3.org/fxtf/compositing-1/#porterduffcompositingoperators
author Johann Sorel