Click or drag to resize

PictureFillSymbol Class

Uses an image to symbolize the fill for a polygon geoelement.
Inheritance Hierarchy

Namespace:  Esri.ArcGISRuntime.Symbology
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
Syntax
public class PictureFillSymbol : FillSymbol

The PictureFillSymbol type exposes the following members.

Constructors
  NameDescription
Public methodPictureFillSymbol(Uri)
Initializes a new instance of the PictureFillSymbol class from an image URI
Public methodPictureFillSymbol(RuntimeImage)
Initializes a new instance of the PictureFillSymbol class from a runtime image data container.
Top
Properties
  NameDescription
Public propertyAngle
Gets or sets the rotation angle of the picture fill.
Public propertyCode exampleColor
Gets or sets the color
(Inherited from FillSymbol.)
Public propertyHeight
Gets or sets the image height.
Public propertyOffsetX
Gets or sets the horizontal offset of the picture fill.
Public propertyOffsetY
Gets or sets the vertical offset of the picture fill.
Public propertyOpacity
Gets or sets the opacity for the symbol.
Public propertyOutline
Gets or sets the outline line symbol
(Inherited from FillSymbol.)
Public propertyScaleX
Gets or sets the horizontal scaling of the picture fill.
Public propertyScaleY
Gets or sets the vertical scaling of the picture fill.
Public propertyUri
Get the URI of the picture fill symbol image source.
Public propertyWidth
Gets or sets the image width.
Top
Methods
  NameDescription
Public methodClone
Clones this instance of Symbol and its members.
(Inherited from Symbol.)
Public methodStatic memberCreateAsync
Creates a new instance of a Picture Fill Symbol from a stream of encoded image bytes
Public methodCode exampleCreateSwatchAsync(Double)
Creates a swatch image of this symbol using the default size and a transparent background.
(Inherited from Symbol.)
Public methodCreateSwatchAsync(Color, Double)
Creates a swatch image of this symbol, using the default sizing and a transparent background.
(Inherited from Symbol.)
Public methodCreateSwatchAsync(Int32, Int32, Double, Color)
Creates a swatch image of this symbol, scaled to fit the specified dimensions.
(Inherited from Symbol.)
Public methodCreateSwatchAsync(Int32, Int32, Single, Color, Geometry)
Creates a swatch image of this symbol, with the specified image size, dpi, background color, and geometry.
(Inherited from Symbol.)
Public methodToJson
Returns the json representation of the symbol
(Inherited from Symbol.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from Symbol.)
Top
Remarks
Supported image formats are BMP, GIF, ICO, JPEG, and PNG. Animated GIF is not supported.
See Also