Drawing information about a sublayer of map or feature service. More...
Header | #include <Drawing |
Since | Esri |
Public Functions
Drawing | |
Drawing | |
Drawing | |
~ | |
bool | is |
bool | is |
bool | is |
Q | labeling |
Esri | renderer( |
double | transparency() const |
Esri | operator=( |
Esri | operator=(const Esri |
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.
[noexcept]
DrawingInfo::DrawingInfo (Esri::ArcGISRuntime::DrawingInfo &&other)
Move constructor from other DrawingInfo.
[noexcept]
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).
[noexcept]
Esri::ArcGISRuntime::DrawingInfo &DrawingInfo::operator=(Esri::ArcGISRuntime::DrawingInfo &&other)
Move operator from other DrawingInfo.
Esri::ArcGISRuntime::DrawingInfo &DrawingInfo::operator=(const Esri::ArcGISRuntime::DrawingInfo &other)
Assignment operator from other DrawingInfo.