Skip To Content ArcGIS for Developers Sign In Dashboard

FillSymbol Class

(Esri::ArcGISRuntime::FillSymbol)

Base class for fill symbols. More...

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

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

Public Functions

~FillSymbol()
QColor color() const
LineSymbol *outline() const
void setColor(const QColor &color)
void setOutline(LineSymbol *outline)

Protected Functions

FillSymbol(QObject *parent = nullptr)
  • 9 protected functions inherited from QObject

Additional Inherited Members

Detailed Description

Base class for fill symbols.

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.

FillSymbol::~FillSymbol()

Destructor.

QColor FillSymbol::color() const

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

See also setColor().

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(LineSymbol *outline)

Sets the outline LineSymbol for the fill symbol.

See also outline().


Feedback on this topic?