VectorImageProperty

data class VectorImageProperty(val size: DpSize, val imageVector: ImageVector?, val color: Color, val alignment: Alignment, val contentScale: ContentScale, val alpha: Float, val colorFilter: ColorFilter?) : Property

Represents the properties of a vector image 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, imageVector: ImageVector?, 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 vector image within its container.

Link copied to clipboard

The alpha transparency value of the vector image.

Link copied to clipboard

The color overlay applied to the vector image.

Link copied to clipboard

Optional color filter applied to the vector image.

Link copied to clipboard

Defines how the vector image should be scaled within its bounds.

Link copied to clipboard

The vector image associated with this property (nullable).

Link copied to clipboard

The size of the vector image in Dp.