public class MediaEffectCrop extends MediaEffect
mEffect, mEffectContext, mEnabled| Constructor and Description |
|---|
MediaEffectCrop(android.media.effect.EffectContext effect_context,
int x,
int y,
int width,
int height)
コンストラクタ
GLコンテキスト内で生成すること
|
| Modifier and Type | Method and Description |
|---|---|
MediaEffectCrop |
setParameter(int x,
int y,
int width,
int height) |
apply, apply, enabled, release, resize, setEnable, setParameterpublic MediaEffectCrop(android.media.effect.EffectContext effect_context,
int x,
int y,
int width,
int height)
effect_context - x - The origin's x-value. between 0 and width of the image.y - The origin's y-value. between 0 and height of the image.width - The width of the cropped image. between 1 and the width of the image minus xorigin.height - The height of the cropped image. between 1 and the height of the image minus yorigin.public MediaEffectCrop setParameter(int x, int y, int width, int height)
x - The origin's x-value. between 0 and width of the image.y - The origin's y-value. between 0 and height of the image.width - The width of the cropped image. between 1 and the width of the image minus xorigin.height - The height of the cropped image. between 1 and the height of the image minus yorigin.