mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Add missing transfer annotation (#31482)
This commit is contained in:
parent
c1e8cf8f19
commit
0e3a4478d9
@ -515,11 +515,11 @@ or by simply specificing a start and end color.
|
||||
.. versionadded:: 2.3
|
||||
%End
|
||||
|
||||
void setColorRamp( QgsColorRamp *ramp );
|
||||
void setColorRamp( QgsColorRamp *ramp /Transfer/ );
|
||||
%Docstring
|
||||
Sets the color ramp used to draw the shapeburst fill. Color ramps are only used if setColorType is set ShapeburstColorType.ColorRamp.
|
||||
Sets the color ``ramp`` used to draw the shapeburst fill. Color ramps are only used if setColorType is set ShapeburstColorType.ColorRamp.
|
||||
|
||||
:param ramp: color ramp to use for shapeburst fill
|
||||
Ownership of ``ramp`` is transferred to the fill.
|
||||
|
||||
.. seealso:: :py:func:`setColorType`
|
||||
|
||||
|
@ -485,13 +485,15 @@ class CORE_EXPORT QgsShapeburstFillSymbolLayer : public QgsFillSymbolLayer
|
||||
ShapeburstColorType colorType() const { return mColorType; }
|
||||
|
||||
/**
|
||||
* Sets the color ramp used to draw the shapeburst fill. Color ramps are only used if setColorType is set ShapeburstColorType::ColorRamp.
|
||||
* \param ramp color ramp to use for shapeburst fill
|
||||
* Sets the color \a ramp used to draw the shapeburst fill. Color ramps are only used if setColorType is set ShapeburstColorType::ColorRamp.
|
||||
*
|
||||
* Ownership of \a ramp is transferred to the fill.
|
||||
*
|
||||
* \see setColorType
|
||||
* \see colorRamp
|
||||
* \since QGIS 2.3
|
||||
*/
|
||||
void setColorRamp( QgsColorRamp *ramp );
|
||||
void setColorRamp( QgsColorRamp *ramp SIP_TRANSFER );
|
||||
|
||||
/**
|
||||
* Returns the color ramp used for the shapeburst fill. The color ramp is only used if the colorType is set to ShapeburstColorType::ColorRamp
|
||||
|
Loading…
x
Reference in New Issue
Block a user