SimpleFillSymbol QML Type
Uses predefined patterns and colors to symbolize graphics and features that have polygon geometry. More...
Import Statement: | import Esri.ArcGISRuntime |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
- List of all members, including inherited members
- SimpleFillSymbol is part of QML Type List.
Properties
- style : Enums.SimpleFillSymbolStyle
Signals
Methods
- bool equals(SimpleFillSymbol other)
- MultilayerPolygonSymbol toMultilayerSymbol()
Detailed Description
Simple fill symbols can fill the interior of polygons using predefined fill patterns such as Enums.SimpleFillSymbolStyleBackwardDiagonal, Enums.SimpleFillSymbolStyleVertical, Enums.SimpleFillSymbolStyleHorizontal and Enums.SimpleFillSymbolStyleCross, as well as Enums.SimpleFillSymbolStyleSolid colors. These symbols can have an optional outline, which is defined by SimpleLineSymbol.
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 and Symbol.
Property Documentation
style : Enums.SimpleFillSymbolStyle |
The style of the symbol's fill pattern.
Enums.SimpleFillSymbolStyleSolid if an error occurs.
See also Enums.SimpleFillSymbolStyle.
Signal Documentation
styleChanged() |
Emitted when the style property changes.
Note: The corresponding handler is onStyleChanged
.
Method Documentation
|
Compares two SimpleFillSymbols for equality.
Returns whether this instance and other are equivalent.
This method was introduced in Esri.ArcGISRuntime 200.1.
|
Gets a MultilayerPolygonSymbol from a SimpleFillSymbol.
This method allows you to create complex and custom symbols with multiple layers of different types of symbology. Simple fill symbol provides a factory of predefined fill styles such as cross and backward_diagonal. This method generates a MultilayerPolygonSymbol with a HatchFillSymbolLayer for any of the styles containing lines, or a SolidFillSymbolLayer if the fill style is Enums.SimpleFillSymbolStyleSolid.
This method was introduced in Esri::ArcGISRuntime 100.5.