Skip To Content ArcGIS for Developers Sign In Dashboard

SolidFillSymbolLayer Class

(Esri::ArcGISRuntime::SolidFillSymbolLayer)

A solid fill symbol layer is a symbol layer intended for use with polygon geometries. More...

Header: #include <SolidFillSymbolLayer>
Since: Esri::ArcGISRuntime 100.5
Inherits: FillSymbolLayer

Public Functions

SolidFillSymbolLayer(QObject *parent = nullptr)
SolidFillSymbolLayer(const QColor &color, QObject *parent = nullptr)
~SolidFillSymbolLayer()
QColor color() const
void setColor(const QColor &color)

Additional Inherited Members

Detailed Description

A solid fill symbol layer is a symbol layer intended for use with polygon geometries.

This layer is used to render the surfaces of the Polygon geometries with the provided color.

If a SolidFillSymbolLayer is the only symbol layer in a MultilayerPolygonSymbol, it will fill the geometry with the specified color.

Member Function Documentation

SolidFillSymbolLayer::SolidFillSymbolLayer(QObject *parent = nullptr)

Default constructor with an optional parent.

SolidFillSymbolLayer::SolidFillSymbolLayer(const QColor &color, QObject *parent = nullptr)

Constructor with a color and an optional parent.

SolidFillSymbolLayer::~SolidFillSymbolLayer()

Destructor.

QColor SolidFillSymbolLayer::color() const

Returns the color.

If a color is not explicitly set, the default will be black, RGBA(0, 0, 0, 255).

See also setColor() and SymbolLayer::isColorLocked.

void SolidFillSymbolLayer::setColor(const QColor &color)

Sets the color to color.

Note: this property can only be modified if the symbol layer is not color locked.

See also color() and SymbolLayer::isColorLocked.


Feedback on this topic?