java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QSizeF
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QSizeF extends QtObject implements Cloneable
Defines the size of a two-dimensional object using floating point precision
Java wrapper for Qt class QSizeF
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QSizeF()
See QSizeF::QSizeF()QSizeF(double w, double h)
QSizeF(QSize sz)
protected
QSizeF(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QSizeF
add(QSizeF arg__1)
QSizeF
boundedTo(QSizeF arg__1)
QSizeF
clone()
QSizeF
divide(double c)
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.QSizeF
expandedTo(QSizeF arg__1)
QSizeF
grownBy(QMarginsF m)
int
hashCode()
double
height()
boolean
isEmpty()
boolean
isNull()
boolean
isValid()
QSizeF
multiply(double c)
void
readFrom(QDataStream arg__1)
void
scale(double w, double h, Qt.AspectRatioMode mode)
void
scale(QSizeF s, Qt.AspectRatioMode mode)
QSizeF
scaled(double w, double h, Qt.AspectRatioMode mode)
QSizeF
scaled(QSizeF s, Qt.AspectRatioMode mode)
void
setHeight(double h)
void
setWidth(double w)
QSizeF
shrunkBy(QMarginsF m)
QSizeF
subtract(QSizeF arg__1)
QSize
toSize()
String
toString()
void
transpose()
QSizeF
transposed()
double
width()
void
writeTo(QDataStream arg__1)
-
Constructor Details
-
QSizeF
public QSizeF()See QSizeF::QSizeF()
-
QSizeF
-
QSizeF
public QSizeF(double w, double h) -
QSizeF
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
boundedTo
-
expandedTo
-
grownBy
-
height
-
isEmpty
-
isNull
-
isValid
-
multiply
-
add
-
subtract
-
divide
-
writeTo
-
readFrom
-
scale
-
scale
-
scaled
-
scaled
-
setHeight
-
setWidth
-
shrunkBy
-
toSize
-
transpose
-
transposed
-
width
-
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
-
toString
-
clone
-