info.freelibrary.iiif.presentation.v3.SpatialContentResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jiiify-presentation-v3 Show documentation
Show all versions of jiiify-presentation-v3 Show documentation
A Java Library for version 3 of the IIIF Presentation API
package info.freelibrary.iiif.presentation.v3;
/**
* An interface for content resources that have spatial characteristics.
*
* @param A type of spatial content resource
*/
public interface SpatialContentResource> extends ContentResource {
/**
* Gets the width of this content resource.
*
* @return This content resource's width
*/
int getWidth();
/**
* Gets the height of this content resource.
*
* @return This content resource's height
*/
int getHeight();
/**
* Sets the width and height of this content resource.
*
* @param aWidth The width of this content resource
* @param aHeight The height of this content resource
* @return This content resource
*/
T setWidthHeight(int aWidth, int aHeight);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy