java.lang.Object
io.qt.QtObject
io.qt.gui.QMatrix2x2
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Java wrapper for Qt class QMatrix2x2
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQMatrix2x2
(float[] values) QMatrix2x2
(QMatrix2x2 other) QMatrix2x2
(FloatBuffer values) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QMatrix2x2
add
(QMatrix2x2 other) final float []
array()
clone()
final void
copyDataTo
(float[] values) final void
copyDataTo
(FloatBuffer values) final FloatBuffer
data()
final QMatrix2x2
divide
(float divisor) boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final void
fill
(float value) int
hashCode()
final boolean
final QMatrix2x2
multiply
(float factor) final void
final void
setValue
(int row, int column, float value) final QMatrix2x2
subtract
(QMatrix2x2 other) final QMatrix2x2
final float
value
(int row, int column) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QMatrix2x2
public QMatrix2x2() -
QMatrix2x2
-
QMatrix2x2
-
QMatrix2x2
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
QMatrix2x2
public QMatrix2x2(float[] values)
-
-
Method Details
-
copyDataTo
-
data
-
array
-
fill
-
isIdentity
-
setValue
-
value
-
multiply
-
add
-
subtract
-
divide
-
setToIdentity
-
transposed
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
copyDataTo
-
clone
-