ImageVectorEditor

Utility class for editing and transforming ImageVector instances. This class provides methods to apply rotation and flipping transformations to an ImageVector.

Constructors

Link copied to clipboard
constructor(src: ImageVector)

Functions

Link copied to clipboard

Builds and returns a new ImageVector with the applied transformations.

Link copied to clipboard
fun flip(flip: Flip)

Applies a flipping transformation to the ImageVector. The flipping affects the image's scale along the X and/or Y axis.

Link copied to clipboard
fun rotate(degrees: Degrees)

Sets a rotation transformation for the ImageVector. This method sets the rotation angle to the specified value, replacing any previous rotation.