BitmapDrawable.SetAntiAlias(Boolean) Method

Definition

Enables or disables anti-aliasing for this drawable.

[Android.Runtime.Register("setAntiAlias", "(Z)V", "GetSetAntiAlias_ZHandler")]
public virtual void SetAntiAlias (bool aa);
[<Android.Runtime.Register("setAntiAlias", "(Z)V", "GetSetAntiAlias_ZHandler")>]
abstract member SetAntiAlias : bool -> unit
override this.SetAntiAlias : bool -> unit

Parameters

aa
Boolean

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

Attributes

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.

Java documentation for android.graphics.drawable.BitmapDrawable.setAntiAlias(boolean).

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

See also