ImageFormat.GetBitsPerPixel(ImageFormatType) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用此函式來取得 ImageFormat 的每像素位元數。
[Android.Runtime.Register("getBitsPerPixel", "(I)I", "")]
public static int GetBitsPerPixel(Android.Graphics.ImageFormatType format);
[<Android.Runtime.Register("getBitsPerPixel", "(I)I", "")>]
static member GetBitsPerPixel : Android.Graphics.ImageFormatType -> int
參數
- format
- ImageFormatType
format
傳回
該格式的每像素位元數,或 -1 若該格式不存在或不支援。
- 屬性
備註
使用此函式來取得 ImageFormat 的每像素位元數。
Java 文件 android.graphics.ImageFormat.getBitsPerPixel(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。