SimpleFillSymbol QML Type
A fill symbol based on simple patterns. More...
Import Statement: | import Esri.ArcGISRuntime 100.6 |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
Properties
- style : Enums.SimpleFillSymbolStyle
Signals
Methods
- MultilayerPolygonSymbol toMultilayerSymbol()
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.
Example:
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
The style of the symbol's fill pattern.
See also Enums.SimpleFillSymbolStyle.
Signal Documentation
Emitted when the style property changes.
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 QML method was introduced in Esri::ArcGISRuntime 100.5.