Class PictureFillSymbol
Uses an image to fill the shape of graphic and feature polygons with a repeating pattern.
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 height of the picture fill symbol in device-independent pixels (DIPs). |
| 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 width of the picture fill symbol in device-independent pixels (DIPs). |
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 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.1 - 200.8 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 200.8 |