ClipDrawable.SetColorFilter(ColorFilter) ClipDrawable.SetColorFilter(ColorFilter) Method

Definition

Specify an optional color filter for the drawable.

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

Parameters

cf
ColorFilter ColorFilter

the color filter to apply, or null to remove the existing color filter

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