public interface Canvas extends IiifResource
The canvas represents an individual page or view and acts as a central point for laying out the different content resources that make up the display. As with sequences, the name should not begin with a number. Suggested patterns are “f1r” or “p1”.
Recommended URI Pattern: {scheme}://{host}/{prefix}/{identifier}/canvas/{name}
| Modifier and Type | Method and Description |
|---|---|
PropertyValue |
getDescription() |
int |
getHeight() |
List<Image> |
getImages() |
PropertyValue |
getLabel() |
List<Metadata> |
getMetadata() |
List<IiifReference> |
getOtherContent() |
Thumbnail |
getThumbnail() |
String |
getViewingHint() |
int |
getWidth() |
void |
setDescription(PropertyValue description) |
void |
setHeight(int height) |
void |
setImages(List<Image> images) |
void |
setLabel(PropertyValue label) |
void |
setMetadata(List<Metadata> metadata) |
void |
setOtherContent(List<IiifReference> iiifReferences) |
void |
setThumbnail(Thumbnail thumbnail) |
void |
setViewingHint(String viewingHint) |
void |
setWidth(int width) |
addService, getAttribution, getId, getLicense, getLogo, getRelated, getRendering, getSeeAlso, getServices, getType, getWithin, setAttribution, setId, setId, setLicense, setLogo, setRelated, setRendering, setSeeAlso, setServices, setWithinPropertyValue getDescription()
void setDescription(PropertyValue description)
description - A canvas may have a description to describe particular features of the view.int getHeight()
void setHeight(int height)
PropertyValue getLabel()
void setLabel(PropertyValue label)
void setMetadata(List<Metadata> metadata)
metadata - A canvas may have metadata pairs associated with it to describe its particular features.List<IiifReference> getOtherContent()
void setOtherContent(List<IiifReference> iiifReferences)
Thumbnail getThumbnail()
void setThumbnail(Thumbnail thumbnail)
thumbnail - A canvas may have a thumbnail and should have a thumbnail if there are multiple images or
resources that make up the representation.String getViewingHint()
void setViewingHint(String viewingHint)
viewingHint - A manifest, sequence or range may have a viewing hint, with scope as per viewingDirection. A
canvas may have a viewing hint, and the only hint defined by this specification for canvases is "non-paged".
"non-paged" is only valid if the canvas is within a manifest, sequence or range that is "paged", and the particular
canvas must not be displayed in a page-turning viewer.int getWidth()
void setWidth(int width)
Copyright © 2017. All rights reserved.