Android Guides | Samples

Android.Graphics.Drawables.Drawable.SetDither Method

Set to true to have the drawable dither its colors when drawn to a device with fewer than 8-bits per color component.

Syntax

[Android.Runtime.Register("setDither", "(Z)V", "GetSetDither_ZHandler")]
public virtual Void SetDither (Boolean dither)

See Also

Parameters

dither

Remarks

Set to true to have the drawable dither its colors when drawn to a device with fewer than 8-bits per color component.

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1