-
public final class VignetteFilterTransformation extends GPUFilterTransformation
Performs a vignetting effect, fading out the image at the edges.
-
-
Constructor Summary
Constructors Constructor Description VignetteFilterTransformation(Context context, PointF center, FloatArray color, Float start, Float end)
-
Method Summary
Modifier and Type Method Description StringgetCacheKey()GPUImageFiltercreateFilter()Create the GPUImageFilter to apply to this Transformation -
Methods inherited from class com.commit451.coiltransformations.gpu.VignetteFilterTransformation
transform -
Methods inherited from class com.commit451.coiltransformations.gpu.GPUFilterTransformation
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
VignetteFilterTransformation
VignetteFilterTransformation(Context context, PointF center, FloatArray color, Float start, Float end)
- Parameters:
context- context,center- the center to apply the vignetting, default PointF(0.5f, 0.color- the color of the vignette, default floatArrayOf(0.0f, 0.0f, 0.start- the start of the vignette, default 0.end- the end of the vignette, default 0.
-
-
Method Detail
-
getCacheKey
String getCacheKey()
-
createFilter
GPUImageFilter createFilter()
Create the GPUImageFilter to apply to this Transformation
-
-
-
-