ImageView.SetColorFilter ImageView.SetColorFilter Method

Definition

Overloads

SetColorFilter(Color) SetColorFilter(Color)

Set a tinting option for the image.

SetColorFilter(ColorFilter) SetColorFilter(ColorFilter)

Apply an arbitrary colorfilter to the image.

SetColorFilter(Color, PorterDuff+Mode) SetColorFilter(Color, PorterDuff+Mode)

Set a tinting option for the image.

SetColorFilter(Color) SetColorFilter(Color)

Set a tinting option for the image.

[Android.Runtime.Register("setColorFilter", "(I)V", "", ApiSince=8)]
public void SetColorFilter (Android.Graphics.Color color);
member this.SetColorFilter : Android.Graphics.Color -> unit

Parameters

color
Color Color

Color tint to apply.

Remarks

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.

SetColorFilter(ColorFilter) SetColorFilter(ColorFilter)

Apply an arbitrary colorfilter to the image.

[Android.Runtime.Register("setColorFilter", "(Landroid/graphics/ColorFilter;)V", "GetSetColorFilter_Landroid_graphics_ColorFilter_Handler")]
public virtual void SetColorFilter (Android.Graphics.ColorFilter cf);
abstract member SetColorFilter : Android.Graphics.ColorFilter -> unit
override this.SetColorFilter : Android.Graphics.ColorFilter -> unit

Parameters

cf
ColorFilter ColorFilter

the colorfilter to apply (may be null)

Remarks

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.

See also

SetColorFilter(Color, PorterDuff+Mode) SetColorFilter(Color, PorterDuff+Mode)

Set a tinting option for the image.

[Android.Runtime.Register("setColorFilter", "(ILandroid/graphics/PorterDuff$Mode;)V", "")]
public void SetColorFilter (Android.Graphics.Color color, Android.Graphics.PorterDuff.Mode mode);
member this.SetColorFilter : Android.Graphics.Color * Android.Graphics.PorterDuff.Mode -> unit

Parameters

color
Color Color

Color tint to apply.

mode
PorterDuff.Mode PorterDuff.Mode

PorterDuff Mode SRC_ATOP

Remarks

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