wx.Matrix2D¶
A simple container for 2x2 matrix.
This simple structure is used with wx.AffineMatrix2D.
Added in version 2.9.2.
Class Hierarchy¶
Methods Summary¶
Default constructor. |
Properties Summary¶
A public C++ attribute of type Double . The matrix elements in the usual mathematical notation. |
|
A public C++ attribute of type Double . |
|
A public C++ attribute of type Double . |
|
A public C++ attribute of type Double . |
Class API¶
- class wx.Matrix2D(object)¶
Possible constructors:
Matrix2D(v11=1, v12=0, v21=0, v22=1) -> None
A simple container for 2x2 matrix.
Methods¶
- __init__(self, v11=1, v12=0, v21=0, v22=1)¶
Default constructor.
Initializes the matrix elements to the identity.
- Parameters:
v11 (wx.Double)
v12 (wx.Double)
v21 (wx.Double)
v22 (wx.Double)
- Return type:
None
Properties¶
- m_11¶
A public C++ attribute of type Double . The matrix elements in the usual mathematical notation.
- m_12¶
A public C++ attribute of type Double .
- m_21¶
A public C++ attribute of type Double .
- m_22¶
A public C++ attribute of type Double .