public class ImageApiSelector extends Object implements Selector
A selector that describes a region on an IIIF Image API resource.
See http://iiif.io/api/annex/openannotation/#iiif-image-api-selector
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT |
static String |
TYPE |
| Constructor and Description |
|---|
ImageApiSelector() |
| Modifier and Type | Method and Description |
|---|---|
URI |
asImageApiUri(URI baseUri) |
String |
getContext() |
ImageApiProfile.Format |
getFormat() |
ImageApiProfile.Quality |
getQuality() |
String |
getRegion() |
String |
getRotation() |
String |
getSize() |
String |
getType() |
void |
setFormat(ImageApiProfile.Format format) |
void |
setQuality(ImageApiProfile.Quality quality) |
void |
setRegion(String region) |
void |
setRotation(String rotation) |
void |
setSize(String size) |
public static String CONTEXT
public static final String TYPE
public String getContext()
public String getType()
public String getRegion()
public void setRegion(String region)
public String getSize()
public void setSize(String size)
public String getRotation()
public void setRotation(String rotation)
public ImageApiProfile.Quality getQuality()
public void setQuality(ImageApiProfile.Quality quality)
public ImageApiProfile.Format getFormat()
public void setFormat(ImageApiProfile.Format format)
Copyright © 2017. All rights reserved.