Uses of Class
org.dspace.app.iiif.model.generator.CanvasGenerator
-
Packages that use CanvasGenerator Package Description org.dspace.app.iiif.model.generator org.dspace.app.iiif.service -
-
Uses of CanvasGenerator in org.dspace.app.iiif.model.generator
Methods in org.dspace.app.iiif.model.generator that return CanvasGenerator Modifier and Type Method Description CanvasGeneratorCanvasGenerator. addImage(de.digitalcollections.iiif.model.sharedcanvas.Resource<de.digitalcollections.iiif.model.ImageContent> imageContent)Add to the list of image content resources for the canvas.CanvasGeneratorCanvasGenerator. addThumbnail(de.digitalcollections.iiif.model.sharedcanvas.Resource<de.digitalcollections.iiif.model.ImageContent> thumbnail)Adds the thumbnail resource that will be assigned to the canvas.CanvasGeneratorCanvasGenerator. setHeight(int height)Sets the canvas height.CanvasGeneratorCanvasGenerator. setLabel(String label)Adds a canvas label.CanvasGeneratorCanvasGenerator. setWidth(int width)Sets the canvas width.Methods in org.dspace.app.iiif.model.generator with parameters of type CanvasGenerator Modifier and Type Method Description StringCanvasItemsGenerator. addCanvas(CanvasGenerator canvas)Adds a singleCanvasto the sequence.RangeGeneratorRangeGenerator. addCanvas(CanvasGenerator canvas)Adds canvas to range canvas list.AnnotationGeneratorAnnotationGenerator. setOnCanvas(CanvasGenerator canvas)Sets the canvas that is associated with this annotation. -
Uses of CanvasGenerator in org.dspace.app.iiif.service
Methods in org.dspace.app.iiif.service that return CanvasGenerator Modifier and Type Method Description CanvasGeneratorSequenceService. addCanvas(Context context, Item item, Bundle bnd, Bitstream bitstream)This method adds a canvas to the sequence for each item in the list of DSpace bitstreams.protected CanvasGeneratorCanvasService. getCanvas(Context context, String manifestId, Bitstream bitstream, Bundle bundle, Item item, int count, String mimeType)Creates a singleCanvasGenerator.protected CanvasGeneratorCanvasService. getRangeCanvasReference(String startCanvas)Ranges expect the Canvas object to have only an identifier.Methods in org.dspace.app.iiif.service with parameters of type CanvasGenerator Modifier and Type Method Description voidRangeService. updateRanges(Bitstream bitstream, String bundleToCPrefix, CanvasGenerator canvas)Updates the current range and adds sub-ranges.
-