public interface MappingMedium extends BinaryMedium
ImageMapEditorValue
BinaryMedium.Type
MEDIA_FOLDER_REF_PREFIX, MEDIA_REF_PREFIX
Modifier and Type | Method and Description |
---|---|
List<Area> |
getAreas()
Provides the areas defined for mapping to links.
|
int |
getHeight()
Provides the height of the medium.
|
Media |
getImage()
Provides the medium the map bases upon.
|
Resolution |
getResolution()
Provides the medium's resolution.
|
int |
getWidth()
Provides the width of the medium.
|
void |
setAreas(List<? extends Area> areas)
Allows to define the areas mapping to links.
|
void |
setResolution(Resolution resolution)
Define the resolution to be used for the medium
|
getAltText, getComment, getElement, getElementName, getFile, getFolder, getLanguage, getMedium, getPicture, getRemoteName, getType, isEmpty, setAltText, setComment, setElementName, setFolder, setMedium, setRemoteName
@ApiDoc(comment="Provides the medium\'s resolution.", since="4.0") Resolution getResolution()
@ApiDoc(comment="Define the resolution to be used for the medium", since="4.0") void setResolution(Resolution resolution)
resolution
- The resolution.@ApiDoc(comment="Provides the areas defined for mapping to links.", since="4.0") @NotNull List<Area> getAreas()
@ApiDoc(comment="Allows to define the areas mapping to links.", since="4.0") void setAreas(List<? extends Area> areas)
areas
- The areas to be used.@ApiDoc(comment="Provides the width of the medium.", since="4.0") int getWidth()
@ApiDoc(comment="Provides the height of the medium.", since="4.0") int getHeight()
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210