Documentation
Types
CommonDisplayable

CommonDisplayable

type CommonDisplayable = {
    scale?: number;
    rotation?: number;
    position?: RawPosition | IPosition;
    opacity?: number;
    alt?: string;
};

scale

The scale of the image. From 0 to 1.

rotation

The rotation of the image. In degrees.

position

The position of the image. It can be an IPosition or raw position data.

opacity

The opacity of the image. From 0 to 1.

alt

The alt text of the image.