manifesto.js
Version:
IIIF Presentation API utility library for client and server
15 lines (14 loc) • 546 B
TypeScript
import { Annotation, AnnotationList, IManifestoOptions, Range, Resource, Size } from "./internal";
export declare class Canvas extends Resource {
ranges: Range[];
constructor(jsonld?: any, options?: IManifestoOptions);
getCanonicalImageUri(w?: number): string;
getMaxDimensions(): Size | null;
getContent(): Annotation[];
getDuration(): number | null;
getImages(): Annotation[];
getIndex(): number;
getOtherContent(): Promise<AnnotationList[]>;
getWidth(): number;
getHeight(): number;
}