mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-05 00:04:40 -05:00
Since
This commit is contained in:
parent
9364196444
commit
d0ca4f31f8
@ -408,6 +408,8 @@ Returns the QgsExpression for this label settings. May be ``None`` if isExpressi
|
||||
Returns the polygon placement flags, which dictate how polygon labels can be placed.
|
||||
|
||||
.. seealso:: :py:func:`setPolygonPlacementFlags`
|
||||
|
||||
.. versionadded:: 3.14
|
||||
%End
|
||||
|
||||
void setPolygonPlacementFlags( QgsLabeling::PolygonPlacementFlags flags );
|
||||
@ -415,6 +417,8 @@ Returns the polygon placement flags, which dictate how polygon labels can be pla
|
||||
Sets the polygon placement ``flags``, which dictate how polygon labels can be placed.
|
||||
|
||||
.. seealso:: :py:func:`polygonPlacementFlags`
|
||||
|
||||
.. versionadded:: 3.14
|
||||
%End
|
||||
|
||||
bool centroidWhole;
|
||||
|
||||
@ -322,6 +322,7 @@ class CORE_EXPORT QgsLabelFeature
|
||||
* Returns the polygon placement flags, which dictate how polygon labels can be placed.
|
||||
*
|
||||
* \see setPolygonPlacementFlags()
|
||||
* \since QGIS 3.14
|
||||
*/
|
||||
QgsLabeling::PolygonPlacementFlags polygonPlacementFlags() const { return mPolygonPlacementFlags; }
|
||||
|
||||
@ -329,6 +330,7 @@ class CORE_EXPORT QgsLabelFeature
|
||||
* Sets the polygon placement \a flags, which dictate how polygon labels can be placed.
|
||||
*
|
||||
* \see polygonPlacementFlags()
|
||||
* \since QGIS 3.14
|
||||
*/
|
||||
void setPolygonPlacementFlags( QgsLabeling::PolygonPlacementFlags flags ) { mPolygonPlacementFlags = flags; }
|
||||
|
||||
|
||||
@ -443,7 +443,7 @@ class CORE_EXPORT QgsPalLayerSettings
|
||||
LinePlacementOptions = 99, //!< Line placement flags
|
||||
OverrunDistance = 102, //!< Distance which labels can extend past either end of linear features
|
||||
LabelAllParts = 103, //!< Whether all parts of multi-part features should be labeled
|
||||
PolygonLabelOutside = 109, //!< Whether labels outside a polygon feature are permitted, or should be forced
|
||||
PolygonLabelOutside = 109, //!< Whether labels outside a polygon feature are permitted, or should be forced (since QGIS 3.14)
|
||||
|
||||
// rendering
|
||||
ScaleVisibility = 23,
|
||||
@ -652,6 +652,7 @@ class CORE_EXPORT QgsPalLayerSettings
|
||||
* Returns the polygon placement flags, which dictate how polygon labels can be placed.
|
||||
*
|
||||
* \see setPolygonPlacementFlags()
|
||||
* \since QGIS 3.14
|
||||
*/
|
||||
QgsLabeling::PolygonPlacementFlags polygonPlacementFlags() const { return mPolygonPlacementFlags; }
|
||||
|
||||
@ -659,6 +660,7 @@ class CORE_EXPORT QgsPalLayerSettings
|
||||
* Sets the polygon placement \a flags, which dictate how polygon labels can be placed.
|
||||
*
|
||||
* \see polygonPlacementFlags()
|
||||
* \since QGIS 3.14
|
||||
*/
|
||||
void setPolygonPlacementFlags( QgsLabeling::PolygonPlacementFlags flags ) { mPolygonPlacementFlags = flags; }
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user