public class MediaEffectDuoTone extends MediaEffect
mEffect, mEffectContext, mEnabled| Constructor and Description |
|---|
MediaEffectDuoTone(android.media.effect.EffectContext effect_context,
int first_color,
int second_color)
コンストラクタ
GLコンテキスト内で生成すること
|
| Modifier and Type | Method and Description |
|---|---|
MediaEffectDuoTone |
setParameter(int first_color,
int second_color) |
apply, apply, enabled, release, resize, setEnable, setParameterpublic MediaEffectDuoTone(android.media.effect.EffectContext effect_context,
int first_color,
int second_color)
effect_context - first_color - The first color tone. representing an ARGB color with 8 bits per channel. May be created using Color class.second_color - The second color tone. Integer, representing an ARGB color with 8 bits per channel. May be created using Color class.public MediaEffectDuoTone setParameter(int first_color, int second_color)
first_color - The first color tone. representing an ARGB color with 8 bits per channel. May be created using Color class.second_color - The second color tone. Integer, representing an ARGB color with 8 bits per channel. May be created using Color class.