Skip To Content ArcGIS for Developers Sign In Dashboard

FillSymbol Class

class Esri::ArcGISRuntime::FillSymbol

Base class for fill symbols. More...

Header: #include <FillSymbol>
Since: Esri::ArcGISRuntime 100.0
Inherits: Esri::ArcGISRuntime::Symbol
Inherited By:

Esri::ArcGISRuntime::PictureFillSymbol and Esri::ArcGISRuntime::SimpleFillSymbol

This class was introduced in Esri::ArcGISRuntime 100.0.

Public Functions

virtual ~FillSymbol() override
QColor color() const
Esri::ArcGISRuntime::LineSymbol *outline() const
void setColor(const QColor &color)
void setOutline(Esri::ArcGISRuntime::LineSymbol *outline)

Protected Functions

FillSymbol(QObject *parent = nullptr)

Detailed Description

Symbols describe how graphics and features look on a map. Different symbols are used with different geometry types. Fill symbols are used to display graphics and features that are based on polygon geometries. The symbol defines a fill for the interior of a polygon, and an optional outline defined by a line symbol. Subclasses of this class represent specific types of fill symbols.

Member Function Documentation

[protected] FillSymbol::FillSymbol(QObject *parent = nullptr)

Default constructor with an optional parent.

[override virtual] FillSymbol::~FillSymbol()

Destructor.

QColor FillSymbol::color() const

Returns the color to fill the interior of the polygon feature or graphic.

See also setColor().

Esri::ArcGISRuntime::LineSymbol *FillSymbol::outline() const

Returns the outline for the fill symbol.

See also setOutline().

void FillSymbol::setColor(const QColor &color)

Sets the color to fill the interior of the polygon feature or graphic.

See also color().

void FillSymbol::setOutline(Esri::ArcGISRuntime::LineSymbol *outline)

Sets the outline LineSymbol for the fill symbol.

See also outline().


Feedback on this topic?