All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.freelibrary.iiif.presentation.v3.SpatialContentResource Maven / Gradle / Ivy

There is a newer version: 0.12.4
Show newest version

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