Uses an image to symbolize the fill for a Polygon GeoElement. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.1 |
Inherits: |
Properties
- angle : real
- credential : Credential
- error : Error
- height : real
- image : url
- loadError : Error
- loadStatus : Enums.LoadStatus
- opacity : real
- requestConfiguration : RequestConfiguration
- scaleX : real
- scaleY : real
- url : url
- width : real
Signals
- angleChanged()
- credentialChanged()
- heightChanged()
- imageChanged()
- loadErrorChanged()
- loadStatusChanged()
- opacityChanged()
- requestConfigurationChanged()
- scaleXChanged()
- scaleYChanged()
- urlChanged()
- widthChanged()
Methods
- void cancelLoad()
- void load()
- void retryLoad()
- MultilayerPolygonSymbol toMultilayerSymbol()
Detailed Description
Supported image formats are BMP, GIF, ICO, JPEG, and PNG. Animated GIF is not supported. Symbols describe how graphics and features look on a map. Different symbols are used with different geometry types. Instances of this class 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.
Type | Default Property |
---|---|
Credential | credential |
RequestConfiguration | requestConfiguration |
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
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.
The height of the symbol in device independent pixels (DIPs).
Defaults to the size of the image.
Returns the picture fill symbol image once loaded (read-only).
Supported image formats are BMP, GIF, ICO, JPEG, and PNG. Animated GIF is not supported.
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.
Returns the load status (read-only).
See also Loadable and Enums.LoadStatus.
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.
The URL path to the picture fill symbol image.
Supported image formats are BMP, GIF, ICO, JPEG, and PNG. Animated GIF is not supported.
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.
The width of the symbol in device independent pixels (DIPs).
Defaults to the size of the image.
Signal Documentation
Emitted when the angle property changes.
Note: The corresponding handler is onAngleChanged
.
Emitted when the credential property changes.
Note: The corresponding handler is onCredentialChanged
.
Emitted when the height property changes.
Note: The corresponding handler is onHeightChanged
.
Emitted when the image property changes.
Note: The corresponding handler is onImageChanged
.
Emitted when the loadError property of this PictureFillSymbol changes.
Note: load errors are also reported on the error
property and emit the errorChanged
signal.
Note: The corresponding handler is onLoadErrorChanged
.
Emitted when the loadStatus property of this PictureFillSymbol changes.
Note: The corresponding handler is onLoadStatusChanged
.
See also Loadable.
Emitted when the opacity property changes.
Note: The corresponding handler is onOpacityChanged
.
Emitted when the requestConfiguration property changes.
Note: The corresponding handler is onRequestConfigurationChanged
.
Emitted when the scaleX property changes.
Note: The corresponding handler is onScaleXChanged
.
Emitted when the scaleY property changes.
Note: The corresponding handler is onScaleYChanged
.
Emitted when the url property changes.
Note: The corresponding handler is onUrlChanged
.
Emitted when the width property changes.
Note: The corresponding handler is onWidthChanged
.
Method Documentation
See also Loadable.
See also Loadable.
See also Loadable.
MultilayerPolygonSymbol toMultilayerSymbol() |
Get a multilayer polygon symbol, generated from picture fill symbol.
Given a picture fill symbol, this method will return a MultilayerPolygonSymbol with a PictureFillSymbolLayer.
This method was introduced in Esri.ArcGISRuntime 100.13.