Uses of Class
org.dspace.app.iiif.model.generator.CanvasGenerator
Packages that use CanvasGenerator
-
Uses of CanvasGenerator in org.dspace.app.iiif.model.generator
Methods in org.dspace.app.iiif.model.generator that return CanvasGeneratorModifier and TypeMethodDescriptionCanvasGenerator.addImage(de.digitalcollections.iiif.model.sharedcanvas.Resource<de.digitalcollections.iiif.model.ImageContent> imageContent) Add to the list of image content resources for the canvas.CanvasGenerator.addThumbnail(de.digitalcollections.iiif.model.sharedcanvas.Resource<de.digitalcollections.iiif.model.ImageContent> thumbnail) Adds the thumbnail resource that will be assigned to the canvas.CanvasGenerator.setHeight(int height) Sets the canvas height.Adds a canvas label.CanvasGenerator.setWidth(int width) Sets the canvas width.Methods in org.dspace.app.iiif.model.generator with parameters of type CanvasGeneratorModifier and TypeMethodDescriptionCanvasItemsGenerator.addCanvas(CanvasGenerator canvas) Adds a singleCanvasto the sequence.RangeGenerator.addCanvas(CanvasGenerator canvas) Adds canvas to range canvas list.AnnotationGenerator.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 CanvasGeneratorModifier and TypeMethodDescriptionThis 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 CanvasGeneratorModifier and TypeMethodDescriptionvoidRangeService.updateRanges(Bitstream bitstream, String bundleToCPrefix, CanvasGenerator canvas) Updates the current range and adds sub-ranges.