FillSymbol Class

  • FillSymbol
  • class Esri::ArcGISRuntime::FillSymbol

    Base class for fill symbols. More...

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

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

    Public Functions

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

    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()


    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().

    [since Esri::ArcGISRuntime 200.1] bool FillSymbol::operator==(const Esri::ArcGISRuntime::FillSymbol &other) const

    Equivalency operator.

    Returns true if this object and other are equivalent.

    This function was introduced in Esri::ArcGISRuntime 200.1.

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