@iiif/3d-manifesto-dev
Version:
IIIF Presentation API utility library for client and server with 3D extension
14 lines (13 loc) • 522 B
TypeScript
import { ExternalResourceType, MediaType } from "@iiif/vocabulary/dist-commonjs";
import { Annotation, IManifestoOptions, ManifestResource } from "./internal";
export declare class Resource extends ManifestResource {
index: number;
constructor(jsonld?: any, options?: IManifestoOptions);
getFormat(): MediaType | null;
getResources(): Annotation[];
getType(): ExternalResourceType | null;
getWidth(): number;
getHeight(): number;
getMaxWidth(): number;
getMaxHeight(): number | null;
}