Show / Hide Table of Contents

Class PictureFillSymbol

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

Inheritance
System.Object
Symbol
FillSymbol
PictureFillSymbol
Implements
System.ComponentModel.INotifyPropertyChanged
FillSymbol.Color
FillSymbol.Outline
Symbol.PropertyChanged
Symbol.FromJson(String)
Symbol.ToJson()
Symbol.Clone()
Symbol.CreateSwatchAsync(Double)
Symbol.CreateSwatchAsync(Color, Double)
Symbol.CreateSwatchAsync(Int32, Int32, Single, Color, Geometry)
Symbol.CreateSwatchAsync(Int32, Int32, Double, Color)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.1 - 200.7
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.7
In This Article
Back to top Copyright © 2022 Esri.