Picture fill symbols can be used to symbolize polygon geometries.

Referenced by: symbol

Properties

PropertyDetails
angleNumeric value that defines the number of degrees ranging from 0-360, that a marker symbol is rotated. The rotation is from East in a counter-clockwise direction where East is the 0° axis.
contentTypeString value indicating the content type for the image.
heightNumeric value used if needing to resize the symbol. Specify a value in points. If images are to be displayed in their original size, leave this blank.
imageDataString value indicating the base64 encoded data.
outlineSets the outline of the symbol.
typeSpecifies the type of symbol used.
Valid value of this property esriPFS
urlString value indicating the URL of the image. The URL should be relative if working with static layers. A full URL should be used for map service dynamic layers. A relative URL can be dereferenced by accessing the map layer image resource or the feature layer image resource.
widthNumeric value used if needing to resize the symbol. Specify a value in points. If images are to be displayed in their original size, leave this blank.
xoffsetNumeric value indicating the offset on the x-axis in points.
xscaleNumeric value indicating the scale factor in x direction.
yoffsetNumeric value indicating the offset on the y-axis in points.
yscaleNumeric value indicating the scale factor in y direction.

Picture Fill Symbol Example

{
"type": "esriPFS",
"url": "866880A0",
"imageData": "...",
"contentType": "image/png",
"outline": {
"type": "esriSLS",
"style": "esriSLSSolid",
"color": [
110,
110,
110,
255
],
"width": 1
},
"width": 63,
"height": 63,
"angle": 0,
"xoffset": 0,
"yoffset": 0,
"xscale": 1,
"yscale": 1
}