@mocanvas/editor · constant

imageAssetProps

declare const imageAssetProps: {
    readonly w: Validator<number>;
    readonly h: Validator<number>;
    readonly name: Validator<string>;
    readonly isAnimated: Validator<boolean>;
    readonly mimeType: Validator<string | null>;
    readonly src: Validator<string | null>;
    readonly fileSize: Validator<number | undefined>;
}

The props of an image asset: the file, its dimensions, and how to describe it.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.