ArcGIS Developers

SimpleFillSymbol QML Type

A fill symbol based on simple patterns. More...

Import Statement: import Esri.ArcGISRuntime 100.10
Since: Esri.ArcGISRuntime 100.0



  • style : Enums.SimpleFillSymbolStyle



Detailed Description

Symbols describe how graphics and features look on a map. Different symbols are used with different geometry types. Instances of this type represent simple fill symbols. Fill symbols are used with graphics and features that are based on a polygon geometries. The symbol defines how to fill the interior of a polygon, and can have an optional outline which is defined by a line symbol.


Create a SimpleFillSymbol and set its style, color, and outline:

SimpleFillSymbol {
    id: simpleFillSymbol
    color: "red"
    style: Enums.SimpleFillSymbolStyleSolid

    //set the outline
    SimpleLineSymbol {
        style: Enums.SimpleLineSymbolStyleSolid
        color: "black"
        width: 2.0

See also JsonSerializable.

Property Documentation

style : Enums.SimpleFillSymbolStyle

The style of the symbol's fill pattern.

See also Enums.SimpleFillSymbolStyle.

Signal Documentation


Emitted when the style property changes.

Note: The corresponding handler is onStyleChanged.

Method Documentation

MultilayerPolygonSymbol toMultilayerSymbol()

Returns a Multilayer polygon symbol generated from simple fill symbol.

The resulting MultilayerPolygonSymbol contains a SolidStrokeSymbolLayer to display the symbol outline and either a SolidFillSymbolLayer or HatchFillSymbolLayer to represent the interior fill symbol. If the simple fill uses a cross pattern, two HatchFillSymbolLayer symbol layers are used to represent the fill in the multilayer symbol.

This method was introduced in Esri::ArcGISRuntime 100.5.

Feedback on this topic?