語言

Bitmap.SameAs(Bitmap) 方法

定義

給定另一個位圖,若其尺寸、配置和像素資料與該位圖相同,則回傳 true。

[Android.Runtime.Register("sameAs", "(Landroid/graphics/Bitmap;)Z", "")]
public bool SameAs(Android.Graphics.Bitmap? other);
[<Android.Runtime.Register("sameAs", "(Landroid/graphics/Bitmap;)Z", "")>]
member this.SameAs : Android.Graphics.Bitmap -> bool

參數

other
Bitmap

傳回

屬性

備註

給定另一個位圖,若其尺寸、配置和像素資料與該位圖相同,則回傳 true。 若有差異,則回傳 false。 若其他為空,則回傳 false。

Java 文件 android.graphics.Bitmap.sameAs(android.graphics.Bitmap)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於