Compartilhar via


EffectFactory.EffectDuotone Field

Definition

Representation of photo using only two color tones.

[Android.Runtime.Register("EFFECT_DUOTONE")]
public const string EffectDuotone;
[<Android.Runtime.Register("EFFECT_DUOTONE")>]
val mutable EffectDuotone : string

Field Value

Attributes

Remarks

Representation of photo using only two color tones.

Available parameters:

<table> <tr><td>Parameter name</td><td>Meaning</td><td>Valid values</td></tr> <tr><td>first_color</td> <td>The first color tone.</td> <td>Integer, representing an ARGB color with 8 bits per channel. May be created using android.graphics.Color Color class.</td> </tr> <tr><td>second_color</td> <td>The second color tone.</td> <td>Integer, representing an ARGB color with 8 bits per channel. May be created using android.graphics.Color Color class.</td> </tr> </table>

Java documentation for android.media.effect.EffectFactory.EFFECT_DUOTONE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to