PySide6.QtGui.QMatrix2x2¶
- class QMatrix2x2¶
- Added in version 4.6. - Synopsis¶- Methods¶- def - __init__()
- def - __reduce__()
- def - __repr__()
- def - data()
- def - fill()
- def - isIdentity()
- def - __ne__()
- def - __call__()
- def - __imul__()
- def - __iadd__()
- def - __isub__()
- def - operator/=()
- def - __eq__()
- def - setToIdentity()
- def - transposed()
 - Note - This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE - Detailed Description¶- __init__()¶
 - __init__(elements)
- Parameters:
- elements – - PySequence
 
 - __reduce__()¶
- Return type:
- str 
 
 - __repr__()¶
- Return type:
- str 
 
 - data()¶
- Return type:
- float 
 
 - fill(value)¶
- Parameters:
- value – float 
 
 - isIdentity()¶
- Return type:
- bool 
 
 - __ne__(other)¶
- Parameters:
- other – - QGenericMatrix
- Return type:
- bool 
 
 - __call__(row, column)¶
- Parameters:
- row – int 
- column – int 
 
- Return type:
- float 
 
 - __imul__(factor)¶
- Parameters:
- factor – float 
- Return type:
- QGenericMatrix
 
 - __iadd__(other)¶
- Parameters:
- other – - QGenericMatrix
- Return type:
- QGenericMatrix
 
 - __isub__(other)¶
- Parameters:
- other – - QGenericMatrix
- Return type:
- QGenericMatrix
 
 - operator/=(divisor)
- Parameters:
- divisor – float 
- Return type:
- QGenericMatrix
 
 - __eq__(other)¶
- Parameters:
- other – - QGenericMatrix
- Return type:
- bool 
 
 - setToIdentity()¶
 - transposed()¶
- Return type:
- QGenericMatrix