Class PictureFillSymbol
Uses an image to symbolize the fill for a polygon geoelement.
Implements
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class PictureFillSymbol : FillSymbol, INotifyPropertyChanged
Remarks
Supported image formats are BMP, GIF, ICO, JPEG, and PNG. Animated GIF is not supported.
Constructors
| Name | Description |
|---|---|
| PictureFillSymbol(RuntimeImage) | Initializes a new instance of the PictureFillSymbol class from a runtime image data container. |
| PictureFillSymbol(Uri) | Initializes a new instance of the PictureFillSymbol class from an image URI |
Properties
| Name | Description |
|---|---|
| Angle | Gets or sets the rotation angle of the picture fill. |
| Height | Gets or sets the image height. |
| OffsetX | Gets or sets the horizontal offset of the picture fill. |
| OffsetY | Gets or sets the vertical offset of the picture fill. |
| Opacity | Gets or sets the opacity for the symbol. |
| ScaleX | Gets or sets the horizontal scaling of the picture fill. |
| ScaleY | Gets or sets the vertical scaling of the picture fill. |
| Uri | Gets or sets the URI of the picture fill symbol image source. |
| Width | Gets or sets the image width. |
Methods
| Name | Description |
|---|---|
| CreateAsync(Stream) | Creates a new instance of a Picture Fill Symbol from a stream of encoded image bytes |
| ToMultilayerSymbol() | Converts a PictureFillSymbol to a MultilayerPolygonSymbol. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.1 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.15 |