Android Guides | Samples

Android.Graphics.Bitmap.SameAs Method

Given another bitmap, return true if it has the same dimensions, config, and pixel data as this bitmap.

Syntax

[Android.Runtime.Register("sameAs", "(Landroid/graphics/Bitmap;)Z", "")]
public Boolean SameAs (Bitmap other)

Parameters

other

Remarks

Given another bitmap, return true if it has the same dimensions, config, and pixel data as this bitmap. If any of those differ, return false. If other is null, return false.

[Android Documentation]

Requirements

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