CanvaImageUrl

Represents an image that is available via a URL.

Signature

type CanvaImageUrl = {
type: CanvaDataType.CANVA_IMAGE_URL;
url: string;
imageType: string;
width: number;
height: number;
};

Properties

Name

Type

Required

Description

type

CanvaDataType.CANVA_IMAGE_URL

Yes

This value is always "canva_image_url".

url

string

Yes

The URL of the image.

imageType

string

Yes

The MIME type of the image.

height

number

Yes

The height of the image, in pixels.

width

number

Yes

The width of the image, in pixels.