mirror of
https://github.com/qgis/QGIS.git
synced 2025-05-02 00:05:04 -04:00
Add SIP bindings for composer item blend mode and transparency
This commit is contained in:
parent
cbea2d4b32
commit
13d7ced401
@ -305,6 +305,20 @@ class QgsComposerItem: QObject, QGraphicsRectItem
|
|||||||
@note there is not setter since one can't manually set the id*/
|
@note there is not setter since one can't manually set the id*/
|
||||||
QString uuid() const;
|
QString uuid() const;
|
||||||
|
|
||||||
|
/* Returns the current blending mode for the composer item
|
||||||
|
@note added in version 1.9*/
|
||||||
|
const QPainter::CompositionMode blendMode() const;
|
||||||
|
/* Sets the composer item's blending mode
|
||||||
|
@note added in version 1.9*/
|
||||||
|
void setBlendMode( const QPainter::CompositionMode blendMode );
|
||||||
|
|
||||||
|
/** Returns the composer item's transparency
|
||||||
|
@note added in version 1.9*/
|
||||||
|
const int transparency() const;
|
||||||
|
/** Sets the composer item's transparency
|
||||||
|
@note added in version 1.9*/
|
||||||
|
void setTransparency( const int transparency );
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
virtual void setRotation( double r );
|
virtual void setRotation( double r );
|
||||||
void repaint();
|
void repaint();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user