Skip to main content

Static Image

The Static Image component provides methods to manipulate static images. It is derived from the base componenet.

setImage()

Sets the image to be displayed.

setImage(imageName: string, image: Ve.Image): void;

Sets the image to be displayed from a path.

setImage(imageName: string, imagePath: string): void;

resetImage()

Resets the image to be displayed.

resetImage(): void;

setBackgroundColor()

Sets the background color of the image container.

setBackgroundColor(color: string): void;