mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-28 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*/
|
||||
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:
|
||||
virtual void setRotation( double r );
|
||||
void repaint();
|
||||
|
Loading…
x
Reference in New Issue
Block a user