Android.Media.Effect.EffectFactory Members

The members of Android.Media.Effect.EffectFactory are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
EffectAutofixstring.
Parameter nameMeaningValid values
scaleThe scale of the adjustment.Float, between 0 and 1. Zero means no adjustment, while 1 indicates the maximum amount of adjustment.
const
EffectBackdropperstring.
Parameter nameMeaningValid values
sourceA URI for the background video to use. This parameter must be supplied before calling apply() for the first time.String, such as from Android.Net.Uri.ToString
const
EffectBitmapoverlaystring.
Parameter nameMeaningValid values
bitmapThe overlay bitmap.A non-null Bitmap instance.
const
EffectBlackwhitestring.
Parameter nameMeaningValid values
blackThe value of the minimal pixel.Float, between 0 and 1.
whiteThe value of the maximal pixel.Float, between 0 and 1.
const
EffectBrightnessstring.
Parameter nameMeaningValid values
brightnessThe brightness multiplier.Positive float. 1.0 means no change; larger values will increase brightness.
const
EffectContraststring.
Parameter nameMeaningValid values
contrastThe contrast multiplier.Float. 1.0 means no change; larger values will increase contrast.
const
EffectCropstring.
Parameter nameMeaningValid values
xoriginThe origin's x-value.Integer, between 0 and width of the image.
yoriginThe origin's y-value.Integer, between 0 and height of the image.
widthThe width of the cropped image.Integer, between 1 and the width of the image minus xorigin.
heightThe height of the cropped image.Integer, between 1 and the height of the image minus yorigin.
const
EffectCrossprocessstring.
const
EffectDocumentarystring.
const
EffectDuotonestring.
Parameter nameMeaningValid values
first_colorThe first color tone.Integer, representing an ARGB color with 8 bits per channel. May be created using Android.Graphics._Color class.
second_colorThe second color tone.Integer, representing an ARGB color with 8 bits per channel. May be created using Android.Graphics._Color class.
const
EffectFilllightstring.
Parameter nameMeaningValid values
strengthThe strength of the backlight.Float, between 0 and 1. Zero means no change.
const
EffectFisheyestring.
Parameter nameMeaningValid values
scaleThe scale of the distortion.Float, between 0 and 1. Zero means no distortion.
const
EffectFlipstring.
Parameter nameMeaningValid values
verticalWhether to flip image vertically.Boolean
horizontalWhether to flip image horizontally.Boolean
const
EffectGrainstring.
Parameter nameMeaningValid values
strengthThe strength of the grain effect.Float, between 0 and 1. Zero means no change.
const
EffectGrayscalestring.
const
EffectLomoishstring.
const
EffectNegativestring.
const
EffectPosterizestring.
const
EffectRedeyestring.
Parameter nameMeaningValid values
centersMultiple center points (x, y) of the red eye regions.An array of floats, where (f[2*i], f[2*i+1]) specifies the center of the i'th eye. Coordinate values are expected to be normalized between 0 and 1.
const
EffectRotatestring.
Parameter nameMeaningValid values
angleThe angle of rotation in degrees.Integer value. This will be rounded to the nearest multiple of 90.
const
EffectSaturatestring.
Parameter nameMeaningValid values
scaleThe scale of color saturation.Float, between -1 and 1. 0 means no change, while -1 indicates full desaturation, i.e. grayscale.
const
EffectSepiastring.
const
EffectSharpenstring.
Parameter nameMeaningValid values
scaleThe degree of sharpening.Float, between 0 and 1. 0 means no change.
const
EffectStraightenstring.
Parameter nameMeaningValid values
angleThe angle of rotation.Float, between -45 and +45.
const
EffectTemperaturestring.
Parameter nameMeaningValid values
scaleThe value of color temperature.Float, between 0 and 1, with 0 indicating cool, and 1 indicating warm. A value of of 0.5 indicates no change.
const
EffectTintstring.
Parameter nameMeaningValid values
tintThe color of the tint.Integer, representing an ARGB color with 8 bits per channel. May be created using Android.Graphics._Color class.
const
EffectVignettestring.
Parameter nameMeaningValid values
scaleThe scale of vignetting.Float, between 0 and 1. 0 means no change.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

CreateEffect(string) : Effect
Instantiate a new effect with the given effect name.
static
IsEffectSupported(string) : bool
Check if an effect is supported on this platform.