PySide6.QtGui.QMatrix2x2

class QMatrix2x2

Added in version 4.6.

Synopsis

Methods

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__(arg__1)
Parameters:

arg__1PySequence

__reduce__()
Return type:

str

__repr__()
Return type:

str

data()
Return type:

float

fill(value)
Parameters:

value – float

isIdentity()
Return type:

bool

__ne__(other)
Parameters:

otherQGenericMatrix

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:

otherQGenericMatrix

Return type:

QGenericMatrix

__isub__(other)
Parameters:

otherQGenericMatrix

Return type:

QGenericMatrix

operator/=(divisor)
Parameters:

divisor – float

Return type:

QGenericMatrix

__eq__(other)
Parameters:

otherQGenericMatrix

Return type:

bool

setToIdentity()
transposed()
Return type:

QGenericMatrix