|
| QgsLayoutItemMapItemClipPathSettings (QgsLayoutItemMap *map=nullptr) |
| Constructor for QgsLayoutItemMapItemClipPathSettings, with the specified map parent. More...
|
|
QgsGeometry | clipPathInMapItemCoordinates () const |
| Returns the clipping path geometry, in the map item's coordinate space. More...
|
|
QgsGeometry | clippedMapExtent () const |
| Returns the geometry to use for clipping the parent map, in the map item's CRS. More...
|
|
bool | enabled () const |
| Returns true if the map content should be clipped to the associated item. More...
|
|
QgsMapClippingRegion::FeatureClippingType | featureClippingType () const |
| Returns the feature clipping type to apply when clipping to the associated item. More...
|
|
void | finalizeRestoreFromXml () |
| To be called after all pending items have been restored from XML. More...
|
|
bool | forceLabelsInsideClipPath () const |
| Returns true if labels should only be placed inside the clip path geometry. More...
|
|
bool | isActive () const |
| Returns true if the item clipping is enabled and set to a valid source item. More...
|
|
bool | readXml (const QDomElement &element, const QDomDocument &doc, const QgsReadWriteContext &context) |
| Sets the setting's state from a DOM document, where element is the DOM node corresponding to a 'LayoutMap' tag. More...
|
|
void | setEnabled (bool enabled) |
| Sets whether the map content should be clipped to the associated item. More...
|
|
void | setFeatureClippingType (QgsMapClippingRegion::FeatureClippingType type) |
| Sets the feature clipping type to apply when clipping to the associated item. More...
|
|
void | setForceLabelsInsideClipPath (bool forceInside) |
| Sets whether labels should only be placed inside the clip path geometry. More...
|
|
void | setSourceItem (QgsLayoutItem *item) |
| Sets the source item which will provide the clipping path for the map. More...
|
|
QgsLayoutItem * | sourceItem () |
| Returns the source item which will provide the clipping path for the map, or nullptr if no item is set. More...
|
|
QgsMapClippingRegion | toMapClippingRegion () const |
| Returns the clip path as a map clipping region. More...
|
|
bool | writeXml (QDomElement &element, QDomDocument &document, const QgsReadWriteContext &context) const |
| Stores settings in a DOM element, where element is the DOM element corresponding to a 'LayoutMap' tag. More...
|
|