Added in API level 1
PixelFormat
open class PixelFormat
| kotlin.Any | |
| ↳ | android.graphics.PixelFormat |
Summary
Constants |
|
|---|---|
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int |
System chooses an opaque format (no alpha bits required) |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int |
System chooses a format that supports translucency (many alpha bits) |
| static Int |
System chooses a format that supports transparency (at least 1 alpha bit) |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
Public constructors |
|
|---|---|
<init>() |
|
Public methods |
|
|---|---|
| open static Boolean |
formatHasAlpha(format: Int) |
| open static Unit |
getPixelFormatInfo(format: Int, info: PixelFormat!) |
Properties |
|
|---|---|
| Int | |
| Int | |
Constants
OPAQUE
Added in API level 1
static val OPAQUE: Int
System chooses an opaque format (no alpha bits required)
Value: -1
TRANSLUCENT
Added in API level 1
static val TRANSLUCENT: Int
System chooses a format that supports translucency (many alpha bits)
Value: -3
TRANSPARENT
Added in API level 1
static val TRANSPARENT: Int
System chooses a format that supports transparency (at least 1 alpha bit)
Value: -2
Public constructors
<init>
PixelFormat()
Public methods
formatHasAlpha
Added in API level 1
open static fun formatHasAlpha(format: Int): Boolean
getPixelFormatInfo
Added in API level 1
open static fun getPixelFormatInfo(
format: Int,
info: PixelFormat!
): Unit