Image
interface Image
androidx.ui.graphics.Image |
Summary
Public methods |
|
---|---|
abstract Unit |
Builds caches associated with the bitmap that are used for drawing it. |
Properties |
|
---|---|
abstract ColorSpace |
ColorSpace the Image renders in |
abstract ImageConfig |
Returns the current configuration of this Image, either: |
abstract Boolean |
Determines whether or not the Image contains an alpha channel |
abstract Int |
The number of image pixels along the image's vertical axis. |
abstract NativeImage |
Return backing object that implements the Image interface |
abstract Int |
The number of image pixels along the image's horizontal axis. |
Public methods
prepareToDraw
abstract fun prepareToDraw(): Unit
Builds caches associated with the bitmap that are used for drawing it. This method can be used as a signal to upload images to the GPU to eventually be rendered
Properties
hasAlpha
abstract val hasAlpha: Boolean
Determines whether or not the Image contains an alpha channel
nativeImage
abstract val nativeImage: NativeImage
Return backing object that implements the Image interface