A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-picturefillsymbol.html below:

PictureFillSymbol Class | ArcGIS Maps SDK for Qt

Uses an image to fill the shape of graphic and feature polygons with a repeating pattern. More...

Member Function Documentation [explicit] PictureFillSymbol::PictureFillSymbol(const QImage &image, QObject *parent = nullptr)

Creates a picture fill symbol object with the given image.

Supported image formats are BMP, GIF, ICO, JPEG, and PNG. Animated GIF is not supported.

[explicit] PictureFillSymbol::PictureFillSymbol(const QUrl &url, QObject *parent = nullptr)

Creates a picture fill symbol object from an image URL.

Supported image formats are BMP, GIF, ICO, JPEG, and PNG. Animated GIF is not supported.

The URL can be provided as a path to a local file ("file:/<path to file>"), path to a resource image ("qrc:/<path to resource image>"), or a path to an HTTP URL image ("http://path to image").

[override virtual noexcept] PictureFillSymbol::~PictureFillSymbol()

Destructor.

double PictureFillSymbol::angle() const

Returns the rotation angle of the picture fill symbol in degrees.

The angle will rotate the symbol about its center relative to north. A positive value rotates the symbol clockwise, a negative value rotates the symbol anti-clockwise. The default value is 0.0.

See also setAngle().

[override virtual] void PictureFillSymbol::cancelLoad()

Reimplements: Loadable::cancelLoad().

Cancels loading metadata for the object.

Cancels loading the metadata if the object is loading.

See Loadable.

[signal] void PictureFillSymbol::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.

See also Loadable and Object.

float PictureFillSymbol::height() const

Returns the height of the picture fill symbol in device-independent pixels (DIPs).

The height of the symbol spanning from the bottom to the top side of the image. The default value is 0.0. You can use this property to override the height of the symbol. Note that if you set the height or width to 0.0, then the picture fill symbol will adopt the height and width of the loaded image.

See also setHeight().

QImage PictureFillSymbol::image() const

Returns the image used for the picture fill symbol to fill the polygon geometries.

If a URL was provided for the picture fill symbol, an attempt to load the symbol must occur and succeed, before the image can be returned from this function. Prior to loading in this case, this will return a null QImage.

Returned images are in the QImage::Format_ARGB32_Premultiplied format.

[override virtual] void PictureFillSymbol::load()

Reimplements: Loadable::load().

Loads the metadata for the object asynchronously.

Loads the metadata if the object is not loaded.

[override virtual] Esri::ArcGISRuntime::Error PictureFillSymbol::loadError() const

Reimplements: Loadable::loadError() const.

Returns the load error.

See also Error.

[override virtual] Esri::ArcGISRuntime::LoadStatus PictureFillSymbol::loadStatus() const

Reimplements: Loadable::loadStatus() const.

Returns the load status.

See also LoadStatus.

[signal] void PictureFillSymbol::loadStatusChanged(Esri::ArcGISRuntime::LoadStatus loadStatus)

Signal emitted when the load status changes for this object.

See also Loadable.

[since Esri::ArcGISRuntime 200.4] double PictureFillSymbol::offsetX() const

Returns the horizontal offset of the picture fill symbol.

Defaults to 0.0.

This function was introduced in Esri::ArcGISRuntime 200.4.

See also setOffsetX().

[since Esri::ArcGISRuntime 200.4] double PictureFillSymbol::offsetY() const

Returns the vertical offset of the picture fill symbol.

The default value is 0.0.

This function was introduced in Esri::ArcGISRuntime 200.4.

See also setOffsetY().

float PictureFillSymbol::opacity() const

Returns the opacity for the picture fill symbol.

The value ranges from 0.0 (fully transparent) to 1.0 (opaque). The default value is 1.0.

See also setOpacity().

[override virtual] void PictureFillSymbol::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.

double PictureFillSymbol::scaleX() const

Returns the horizontal scaling of the picture fill symbol.

Defaults to 1.0.

See also setScaleX().

double PictureFillSymbol::scaleY() const

Returns the vertical scaling of the picture fill symbol.

The default value is 1.0.

See also setScaleY().

void PictureFillSymbol::setAngle(double angle)

Sets the angle to angle.

See also angle.

void PictureFillSymbol::setHeight(float height)

Sets the height to height.

See also height.

[since Esri::ArcGISRuntime 200.4] void PictureFillSymbol::setOffsetX(double offsetX)

Sets the horizontal offset of the picture fill symbol to offsetX.

This function was introduced in Esri::ArcGISRuntime 200.4.

See also offsetX.

[since Esri::ArcGISRuntime 200.4] void PictureFillSymbol::setOffsetY(double offsetY)

Sets the vertical offset of the picture fill symbol to offsetY.

This function was introduced in Esri::ArcGISRuntime 200.4.

See also offsetY.

void PictureFillSymbol::setOpacity(float opacity)

Sets the opacity to opacity.

See also opacity.

void PictureFillSymbol::setScaleX(double scaleX)

Sets the scaleX to scaleX.

See also scaleX.

void PictureFillSymbol::setScaleY(double scaleY)

Sets the scaleY to scaleY.

See also scaleY.

void PictureFillSymbol::setWidth(float width)

Sets the width to width.

See also width.

[since Esri::ArcGISRuntime 100.13] Esri::ArcGISRuntime::MultilayerPolygonSymbol *PictureFillSymbol::toMultilayerSymbol() const

Converts a PictureFillSymbol to a MultilayerPolygonSymbol with a PictureFillSymbolLayer.

The resulting MultilayerPolygonSymbol contains a single PictureFillSymbolLayer.

This function was introduced in Esri::ArcGISRuntime 100.13.

[override virtual] QUrl PictureFillSymbol::url() const

Reimplements: RemoteResource::url() const.

Returns the URL of the picture fill symbol.

The URL is the address location of where the image is being stored. This address can come from an online source or from a locally stored location. In order to use a PictureFillSymbol from a URL, the symbol must be loaded asynchronously. Any properties that are changed while this symbol is loading will persist once the image has loaded.

This could be a local file path, Qt resource path, or HTTP path to the image.

float PictureFillSymbol::width() const

Returns the width of the picture fill symbol in device-independent pixels (DIPs).

The width of the symbol spanning from the left to the right side of the image. The default value is 0.0. You can use this property to override the width of the symbol. Note that if you set the height or width to 0.0, then the picture fill symbol will adopt the height and width of the loaded image.

See also setWidth().

[since Esri::ArcGISRuntime 200.2] bool PictureFillSymbol::operator!=(const Esri::ArcGISRuntime::PictureFillSymbol &other) const

Inequality operator. Returns true if this object and other are not equal.

This function was introduced in Esri::ArcGISRuntime 200.2.

See also PictureFillSymbol::operator==.

[since Esri::ArcGISRuntime 200.1] bool PictureFillSymbol::operator==(const Esri::ArcGISRuntime::PictureFillSymbol &other) const

Returns a boolean that tests if this picture fill symbol is equal to another picture fill symbol.

This function was introduced in Esri::ArcGISRuntime 200.1.


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