A frame that, when added to an ImageOverlay, renders an image on top of a map or scene. More...
Member Function Documentation[explicit]
ImageFrame::ImageFrame(const QUrl &url, QObject *parent = nullptr)
Creates an ImageFrame containing the image defined by the provided URL.
Supported image formats are GeoTIFF, TIFF, JPEG, and PNG. The URL can be a local file path or an HTTP path to an image.
ImageFrame::ImageFrame(const QImage &image, const Esri::ArcGISRuntime::Envelope &extent, QObject *parent = nullptr)Creates an ImageFrame containing the image for display at the specified geographic extent.
If a spatial reference is not defined for the extent, it is assumed to be the same as the view. If the spatial reference of the extent is different from that of the map or scene, then the image would fail to render. Supported image formats are TIFF, GeoTIFF, ICO, BMP, GIF, JPEG, and PNG. Animated GIF is not supported.
ImageFrame::ImageFrame(const QImage &image, const Esri::ArcGISRuntime::Polygon &quadrilateral, QObject *parent = nullptr)Creates an ImageFrame using the image and a four-point polygon representing the corners of an image.
If a spatial reference is not defined for the polygon, it is assumed to be the same as the scene. If the spatial reference of the extent is different from that of the map or scene, then the image would fail to render. If the provided polygon doesn't contain exactly four points, the image frame will fail to load. Supported image formats are TIFF, GeoTIFF, ICO, BMP, GIF, JPEG, and PNG. Animated GIF is not supported.
ImageFrame::ImageFrame(const QUrl &url, const Esri::ArcGISRuntime::Envelope &extent, QObject *parent = nullptr)Creates an ImageFrame containing the image identified by the URL for display at the specified geographic extent.
If a spatial reference is not defined for the extent, it is assumed to be the same as the map or scene. If the spatial reference of the extent is different from that of the scene, then the image would fail to render. Supported image formats are GeoTIFF, TIFF, JPEG, and PNG. The URL can be a local file path or an HTTP path to an image.
ImageFrame::ImageFrame(const QUrl &url, const Esri::ArcGISRuntime::Polygon &quadrilateral, QObject *parent = nullptr)Creates an ImageFrame using the URL of an image and a four-point polygon representing the corners of an image.
If a spatial reference is not defined for the polygon, it is assumed to be the same as the map or scene. If the spatial reference of the extent is different from that of the scene, then the image would fail to render. If the provided polygon doesn't contain exactly four points, the image frame will fail to load. Supported image formats are GeoTIFF, TIFF, JPEG, and PNG. The URL can be a local file path or an HTTP path to an image.
[override virtual noexcept]
ImageFrame::~ImageFrame()
Destructor.
[override virtual]
void ImageFrame::cancelLoad()
Reimplements: Loadable::cancelLoad().
Cancels loading metadata for the object.
Cancels loading the metadata if the object is loading.
See Loadable.
[signal]
void ImageFrame::doneLoading(const Esri::ArcGISRuntime::Error &loadError)
Signal emitted when this object is done loading.
Note: If there is a load error it will also be emitted on the errorOccurred
signal.
Returns the extent of the image.
QImage ImageFrame::image() constReturns the image contained in the ImageFrame.
[override virtual]
void ImageFrame::load()
Reimplements: Loadable::load().
Loads the metadata for the object asynchronously.
Loads the metadata if the object is not loaded.
See Loadable.
[override virtual]
Esri::ArcGISRuntime::Error ImageFrame::loadError() const
Reimplements: Loadable::loadError() const.
Returns the load error.
See Loadable.
See also Error.
[override virtual]
Esri::ArcGISRuntime::LoadStatus ImageFrame::loadStatus() const
Reimplements: Loadable::loadStatus() const.
Returns the load status.
See Loadable.
See also LoadStatus.
[signal]
void ImageFrame::loadStatusChanged(Esri::ArcGISRuntime::LoadStatus loadStatus)
Signal emitted when the load status changes for this object.
See also Loadable.
Esri::ArcGISRuntime::Polygon ImageFrame::quadrilateral() constReturns a polygon consisting of four points that represent each corner of the image.
[override virtual]
void ImageFrame::retryLoad()
Reimplements: Loadable::retryLoad().
Loads or retries loading metadata for the object asynchronously.
Will retry loading the metadata if the object is failed to load. Will load the object if it is not loaded. Will not retry to load the object if the object is loaded. Will always call the done loading if this is called.
See Loadable.
[override virtual]
QUrl ImageFrame::url() const
Reimplements: RemoteResource::url() const.
Returns the URL path to the image.
This could be a local file path, Qt resource path, or HTTP path to the image.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4