Skip To Content ArcGIS for Developers Sign In Dashboard

DrawingInfo Class

(Esri::ArcGISRuntime::DrawingInfo)

Drawing information about a sublayer of map or feature service. More...

Header: #include <DrawingInfo>
Since: Esri::ArcGISRuntime 100.0

Public Functions

DrawingInfo()
DrawingInfo(const DrawingInfo &other)
DrawingInfo(DrawingInfo &&other)
~DrawingInfo()
bool isEmpty() const
bool isScaleSymbols() const
bool isShowLabels() const
QList<LabelingInfo> labelingInfos() const
Renderer *renderer(QObject *parent = nullptr) const
double transparency() const
DrawingInfo &operator=(const DrawingInfo &other)
DrawingInfo &operator=(DrawingInfo &&other)

Detailed Description

Drawing information about a sublayer of map or feature service.

Member Function Documentation

DrawingInfo::DrawingInfo()

Default constructor. Creates an empty DrawingInfo.

DrawingInfo::DrawingInfo(const DrawingInfo &other)

Copy constructor from other DrawingInfo.

DrawingInfo::DrawingInfo(DrawingInfo &&other)

Move constructor from other DrawingInfo.

DrawingInfo::~DrawingInfo()

Destructor.

bool DrawingInfo::isEmpty() const

Returns true if this DrawingInfo is empty.

bool DrawingInfo::isScaleSymbols() const

Returns whether the sublayer renders its symbols based on scale.

A value of false means the symbols stay the same size in screen units regardless of the map scale.

The default value is false.

bool DrawingInfo::isShowLabels() const

Returns true if labels are shown.

QList<LabelingInfo> DrawingInfo::labelingInfos() const

Returns a list of LabelingInfo objects representing the labeling information associated with the sublayer.

Renderer *DrawingInfo::renderer(QObject *parent = nullptr) const

Returns the renderer applied to the service layer.

Note: The parent is optional. If no parent is specified, then the source from which this DrawingInfo comes from (ArcGISFeatureLayerInfo) takes ownership of the returned renderer.

double DrawingInfo::transparency() const

Returns transparency of this layer as a value between 0 (fully opaque) and 100 (fully transparent).

DrawingInfo &DrawingInfo::operator=(const DrawingInfo &other)

Assignment operator from other DrawingInfo.

DrawingInfo &DrawingInfo::operator=(DrawingInfo &&other)

Move operator from other DrawingInfo.


Feedback on this topic?