Android Guides | Samples

Android.Graphics.Drawables.BitmapDrawable.SetAntiAlias Method

Enables or disables anti-aliasing for this drawable.

Syntax

[Android.Runtime.Register("setAntiAlias", "(Z)V", "GetSetAntiAlias_ZHandler")]
public virtual Void SetAntiAlias (Boolean aa)

See Also

Parameters

aa
True if the bitmap should be anti-aliased, false otherwise.

Remarks

Enables or disables anti-aliasing for this drawable. Anti-aliasing affects the edges of the bitmap only so it applies only when the drawable is rotated.

[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