FocalPoint
Image
ImageMetaData
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
This class represents an image with additional configuration capabilities (e.g. optional focal point). Furthermore it provides access to meta data of the referenced image file.
See Also:
| Property | Description |
|---|---|
file: MediaFile (read-only) | Returns the image media file from the current site’s library. |
focalPoint: FocalPoint (read-only) | Returns the focal point of the image. |
metaData: ImageMetaData (read-only) | Returns the meta data of the physical image file. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getFile() | Returns the image media file from the current site’s library. |
| getFocalPoint() | Returns the focal point of the image. |
| getMetaData() | Returns the meta data of the physical image file. |
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
(read-only)Returns the image media file from the current site's library.
(read-only)Returns the focal point of the image.
(read-only)Returns the meta data of the physical image file. This meta data is obtained when the respective component attribute was saved from Page Designer, i.e. the underlying image is not queried for the meta data every time getMetaData() is called but only on store of the related component attribute.
Returns the image media file from the current site's library.
Returns:
Returns the focal point of the image.
Returns:
Returns the meta data of the physical image file. This meta data is obtained when the respective component attribute was saved from Page Designer, i.e. the underlying image is not queried for the meta data every time getMetaData() is called but only on store of the related component attribute.
Returns: