Drawing information about a sublayer of map or feature service. More...
Header: | #include <DrawingInfo.h> |
Since: | Esri::ArcGISRuntime 100.0 |
Public Functions
DrawingInfo() | |
DrawingInfo(const Esri::ArcGISRuntime::DrawingInfo &other) | |
DrawingInfo(Esri::ArcGISRuntime::DrawingInfo &&other) | |
~DrawingInfo() | |
bool | isEmpty() const |
bool | isScaleSymbols() const |
bool | isShowLabels() const |
QList<Esri::ArcGISRuntime::LabelingInfo> | labelingInfos() const |
Esri::ArcGISRuntime::Renderer * | renderer(QObject *parent = nullptr) const |
double | transparency() const |
Esri::ArcGISRuntime::DrawingInfo & | operator=(const Esri::ArcGISRuntime::DrawingInfo &other) |
Esri::ArcGISRuntime::DrawingInfo & | operator=(Esri::ArcGISRuntime::DrawingInfo &&other) |
Detailed Description
Member Function Documentation
DrawingInfo::DrawingInfo ()
Default constructor. Creates an empty DrawingInfo.
DrawingInfo::DrawingInfo (const Esri::ArcGISRuntime::DrawingInfo &other)
Copy constructor from other DrawingInfo.
DrawingInfo::DrawingInfo (Esri::ArcGISRuntime::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<Esri::ArcGISRuntime::LabelingInfo > DrawingInfo::labelingInfos () const
Returns a list of LabelingInfo objects representing the labeling information associated with the sublayer.
Esri::ArcGISRuntime::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).
Esri::ArcGISRuntime::DrawingInfo &DrawingInfo::operator=(const Esri::ArcGISRuntime::DrawingInfo &other)
Assignment operator from other DrawingInfo.
Esri::ArcGISRuntime::DrawingInfo &DrawingInfo::operator=(Esri::ArcGISRuntime::DrawingInfo &&other)
Move operator from other DrawingInfo.