MultilayerPolygonSymbol QML Type

  • Esri.ArcGISRuntime
  • MultilayerPolygonSymbol
  • A multi-layer polygon symbol. More...

    Import Statement: import Esri.ArcGISRuntime
    Since: Esri.ArcGISRuntime 100.2
    Inherits:

    MultilayerSymbol

    Properties

    Signals

    Detailed Description

    This is a polygon symbol with multiple layers. Each layer has its own properties like width, height, and offset, that can be combined to create polygon symbols with special effects (a polygon with a marker in the center, for example). These symbols are rendered with polygon geometry.

    Note: Symbol layers in a multilayer symbol are in reverse order of how they appear in the JSON representation.

    // in this multilayer symbol pseudocode json, the 'symbolLayers' ordered list of symbol
    // layers contains a solid stroke symbol layer followed by a solid fill symbol layer.
    { "symbolLayers": [{"type": "CIMSolidStroke", "color": "black"},{"type": "CIMSolidFill", "color": "red"}],"type": "CIMPolygonSymbol" }
    
    // this is the solid fill symbol layer, the reverse order from the json representation
    const symbolLayerIndexZero = multilayerSymbol.symboLayers.get(0); // red fill in the image below
    
    // this is the solid stroke symbol layer, the reverse order from the json representation
    const symbolLayerIndexOne = multilayerSymbol.symboLayers.get(1); // black outline in the image below

    "MultilayerPolygon symbol"

    Multilayer symbol consisting of two layers.

    Property Documentation

    [since Esri.ArcGISRuntime 100.5] initSimpleFillSymbol : SimpleFillSymbol

    A SimpleFillSymbol that can be used to instantiate this MultilayerPolygonSymbol.

    This property can only be assigned during instantiation, and only set once. Any changes made to this property after initial assignment will not be reflected in the MultilayerPolygonSymbol.

    Note: This is a convenience property only and equivalent to calling SimpleFillSymbol.toMultilayerSymbol() to create this object.

    This property was introduced in Esri.ArcGISRuntime 100.5.


    Signal Documentation

    [since Esri.ArcGISRuntime 100.5] initSimpleFillSymbolChanged()

    Emitted when the initSimpleFillSymbol property changes.

    Note: The corresponding handler is onInitSimpleFillSymbolChanged.

    This signal was introduced in Esri.ArcGISRuntime 100.5.


    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.