Skip to content

Commit 13d7ced

Browse files
committedApr 22, 2013
Add SIP bindings for composer item blend mode and transparency
1 parent cbea2d4 commit 13d7ced

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
 

‎python/core/composer/qgscomposeritem.sip

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,20 @@ class QgsComposerItem: QObject, QGraphicsRectItem
304304
@note this method was added in version 2.0
305305
@note there is not setter since one can't manually set the id*/
306306
QString uuid() const;
307+
308+
/* Returns the current blending mode for the composer item
309+
@note added in version 1.9*/
310+
const QPainter::CompositionMode blendMode() const;
311+
/* Sets the composer item's blending mode
312+
@note added in version 1.9*/
313+
void setBlendMode( const QPainter::CompositionMode blendMode );
314+
315+
/** Returns the composer item's transparency
316+
@note added in version 1.9*/
317+
const int transparency() const;
318+
/** Sets the composer item's transparency
319+
@note added in version 1.9*/
320+
void setTransparency( const int transparency );
307321

308322
public slots:
309323
virtual void setRotation( double r );

0 commit comments

Comments
 (0)
Please sign in to comment.