ImageBitmapProperty

data class ImageBitmapProperty(val size: DpSize, val imageBitmap: ImageBitmap?, val color: Color, val alignment: Alignment, val contentScale: ContentScale, val alpha: Float, val colorFilter: ColorFilter?) : Property

Represents the properties of an image bitmap used in a drawable element. This class defines various attributes such as size, alignment, and color properties.

Constructors

Link copied to clipboard
constructor(size: DpSize, imageBitmap: ImageBitmap?, color: Color, alignment: Alignment, contentScale: ContentScale, alpha: Float, colorFilter: ColorFilter?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The alignment of the image within its container.

Link copied to clipboard

The alpha transparency value of the image.

Link copied to clipboard

The color overlay applied to the image.

Link copied to clipboard

Optional color filter applied to the image.

Link copied to clipboard

Defines how the image should be scaled within its bounds.

Link copied to clipboard

The bitmap image associated with this property (nullable).

Link copied to clipboard

The size of the image in Dp.