java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QMatrix2x2
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QMatrix2x2 extends QtObject implements Cloneable
Java wrapper for Qt class QMatrix2x2
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QMatrix2x2()
QMatrix2x2(float[] values)
QMatrix2x2(QMatrix2x2 other)
protected
QMatrix2x2(QtObject.QPrivateConstructor p)
Constructor for internal use only.QMatrix2x2(FloatBuffer values)
-
Method Summary
Modifier and Type Method Description QMatrix2x2
add(QMatrix2x2 other)
float[]
array()
QMatrix2x2
clone()
void
copyDataTo(float[] values)
void
copyDataTo(FloatBuffer values)
FloatBuffer
data()
QMatrix2x2
divide(float divisor)
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.void
fill(float value)
int
hashCode()
boolean
isIdentity()
QMatrix2x2
multiply(float factor)
void
setToIdentity()
void
setValue(int row, int column, float value)
QMatrix2x2
subtract(QMatrix2x2 other)
QMatrix2x2
transposed()
float
value(int row, int column)
-
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 native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
public int hashCode() -
copyDataTo
-
clone
-