java.lang.Object
io.qt.QtObject
io.qt.core.QMarginsF
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines the four margins of a rectangle
Java wrapper for Qt's class QMarginsF
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQMarginsF
(double left, double top, double right, double bottom) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QMarginsF
add
(double addend) final QMarginsF
final double
bottom()
clone()
final QMarginsF
div
(double divisor) final QMarginsF
divide
(double 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.int
hashCode()
final boolean
isNull()
final double
left()
final QMarginsF
minus
(double rhs) final QMarginsF
final QMarginsF
multiply
(double factor) final QMarginsF
plus
(double rhs) final QMarginsF
void
readFrom
(QDataStream arg__1) final double
right()
final void
setBottom
(double bottom) final void
setLeft
(double left) final void
setRight
(double right) final void
setTop
(double top) final QMarginsF
subtract
(double subtrahend) final QMarginsF
final QMarginsF
times
(double rhs) final QMargins
final double
top()
toString()
final QMarginsF
final QMarginsF
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QMarginsF
public QMarginsF() -
QMarginsF
-
QMarginsF
public QMarginsF(double left, double top, double right, double bottom) -
QMarginsF
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
bottom
-
isNull
-
left
-
times
-
multiply
-
unaryPlus
-
plus
-
plus
-
add
-
add
-
unaryMinus
-
minus
-
minus
-
subtract
-
subtract
-
div
-
divide
-
writeTo
-
readFrom
-
right
-
setBottom
-
setLeft
-
setRight
-
setTop
-
toMargins
-
top
-
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
-
toString
-
clone
-