Skip To Content ArcGIS for Developers Sign In Dashboard

PictureFillSymbol QML Type

A fill symbol based on an image. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.1
Inherits:

FillSymbol

Properties

Signals

Methods

Detailed Description

Symbols describe how graphics and features look on a map. Different symbols are used with different geometry types. Instances of this type represent picture fill symbols. Fill symbols are used with graphics and features that are based on polygon geometries. The symbol defines how to fill the interior of a polygon using pictures.

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

Example:

Create a PictureFillSymbol and set its URL to an online PNG:

PictureFillSymbol {
    id: pictureFillSymbol
    url: "http://static.arcgis.com/images/Symbols/Basic/YellowStickpin.png"
    width: 15
    height: 15
}

See also Symbol, JsonSerializable, Loadable, and RemoteResource.

Property Documentation

angle : real

The angle of the picture fill symbol in degrees (from 0 to 360).

Defaults to 0.0. The rotation is clockwise.


[default] credential : Credential

The credential to be used to access a secured image URL if provided.

A credential can only be provided before the picture fill symbol is loaded.


error : Error

Returns the error object (read-only).

See also Loadable and Error.


height : real

The height of the symbol in device independent pixels (DIPs).

Defaults to the size of the image.


image : url

Returns the picture fill symbol image once loaded (read-only).

If a URL was provided for the picture fill symbol, an attempt to load the symbol must occur and succeed, before the image source will be available via this property. Prior to loading in this case, this will return an empty url.


loadError : Error

Returns the load error (read-only).

Note: load errors are also reported on the error property and emit the errorChanged signal.

See also Loadable.


loadStatus : Enums.LoadStatus

Returns the load status (read-only).

See also Loadable and Enums.LoadStatus.


opacity : real

The opacity of the symbol.

Defaults to 1.0 (fully opaque). Permitted values range between 0-1.


[default] requestConfiguration : RequestConfiguration

The configuration parameters used for network requests sent by this symbol.


scaleX : real

The x scale of the picture fill symbol.

Defaults to 1.0.


scaleY : real

The y scale of the picture fill symbol.

Defaults to 1.0.


url : url

The URL path to the picture fill symbol image.

This could be a local file path, Qt resource path, or HTTP path to the image. The URL can only be provided before the picture fill symbol is loaded.


width : real

The width of the symbol in device independent pixels (DIPs).

Defaults to the size of the image.


Signal Documentation

angleChanged()

Emitted when the angle property changes.


credentialChanged()

Emitted when the credential property changes.


heightChanged()

Emitted when the height property changes.


imageChanged()

Emitted when the image property changes.


loadErrorChanged()

Emitted when the loadError property of this PictureFillSymbol changes.

Note: load errors are also reported on the error property and emit the errorChanged signal.

See also Loadable and Object.


loadStatusChanged()

Emitted when the loadStatus property of this PictureFillSymbol changes.

See also Loadable.


opacityChanged()

Emitted when the opacity property changes.


requestConfigurationChanged()

Emitted when the requestConfiguration property changes.


scaleXChanged()

Emitted when the scaleX property changes.


scaleYChanged()

Emitted when the scaleY property changes.


urlChanged()

Emitted when the url property changes.


widthChanged()

Emitted when the width property changes.


Method Documentation

void cancelLoad()

See also Loadable.


void load()

See also Loadable.


void retryLoad()

See also Loadable.



Feedback on this topic?