androidx.compose.ui.graphics.painter
Classes
BitmapPainter |
|
Cmn
|
BrushPainter |
|
Cmn
|
ColorPainter |
|
Cmn
|
Painter |
Abstraction for something that can be drawn. |
Cmn
|
Top-level functions summary
BitmapPainter |
BitmapPainter(
|
Cmn
|
Top-level functions
BitmapPainter
fun BitmapPainter(
image: ImageBitmap,
srcOffset: IntOffset = IntOffset.Zero,
srcSize: IntSize = IntSize(image.width, image.height),
filterQuality: FilterQuality = FilterQuality.Low
): BitmapPainter
Painter implementation used to draw an ImageBitmap into the provided canvas This implementation can handle applying alpha and ColorFilter to it's drawn result
| Parameters | |
|---|---|
image: ImageBitmap |
The |
srcOffset: IntOffset = IntOffset.Zero |
Optional offset relative to |
srcSize: IntSize = IntSize(image.width, image.height) |
Optional dimensions representing size of the subsection of
|
filterQuality: FilterQuality = FilterQuality.Low |
Sampling algorithm applied to the |