Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add missing /Transfer/ annotation
- Loading branch information
|
@@ -238,7 +238,7 @@ used if the gradient color type is set to ColorRamp. |
|
|
.. seealso:: :py:func:`gradientColorType` |
|
|
%End |
|
|
|
|
|
void setColorRamp( QgsColorRamp *ramp ); |
|
|
void setColorRamp( QgsColorRamp *ramp /Transfer/ ); |
|
|
%Docstring |
|
|
Sets the color ramp used for the gradient fill. This is only |
|
|
used if the gradient color type is set to ColorRamp. |
|
|
|
@@ -250,7 +250,7 @@ class CORE_EXPORT QgsGradientFillSymbolLayer : public QgsFillSymbolLayer |
|
|
* \see colorRamp() |
|
|
* \see setGradientColorType() |
|
|
*/ |
|
|
void setColorRamp( QgsColorRamp *ramp ); |
|
|
void setColorRamp( QgsColorRamp *ramp SIP_TRANSFER ); |
|
|
|
|
|
//! Color for endpoint of gradient, only used if the gradient color type is set to SimpleTwoColor |
|
|
QColor color2() const { return mColor2; } |
|
|