java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QRectF
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines a finite rectangle in the plane using floating point precision
Java wrapper for Qt class QRectF
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQRectF()
See QRectF::QRectF()QRectF
(double left, double top, double width, double height) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QRectF
final void
adjust
(double x1, double y1, double x2, double y2) final QRectF
adjusted
(double x1, double y1, double x2, double y2) final double
bottom()
final QPointF
final QPointF
final QPointF
center()
clone()
final boolean
contains
(double x, double y) final boolean
final boolean
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
final double
height()
final QRectF
intersected
(QRectF other) final boolean
intersects
(QRectF r) final boolean
isEmpty()
final boolean
isNull()
final boolean
isValid()
final double
left()
final QRectF
marginsAdded
(QMarginsF margins) final QRectF
marginsRemoved
(QMarginsF margins) final void
moveBottom
(double pos) final void
final void
final void
final void
moveLeft
(double pos) final void
moveRight
(double pos) final void
moveTo
(double x, double y) final void
final void
moveTop
(double pos) final void
final void
final QRectF
void
readFrom
(QDataStream arg__1) final double
right()
final void
setBottom
(double pos) final void
final void
final void
setCoords
(double x1, double y1, double x2, double y2) final void
setHeight
(double h) final void
setLeft
(double pos) final void
setRect
(double x, double y, double w, double h) final void
setRight
(double pos) final void
final void
setTop
(double pos) final void
final void
final void
setWidth
(double w) final void
setX
(double pos) final void
setY
(double pos) final QSizeF
size()
final QRectF
final QRect
final double
top()
final QPointF
topLeft()
final QPointF
topRight()
final QRect
toRect()
toString()
final void
translate
(double dx, double dy) final void
final QRectF
translated
(double dx, double dy) final QRectF
final QRectF
final QRectF
final double
width()
void
writeTo
(QDataStream arg__1) final double
x()
See QRectF::x()constfinal double
y()
See QRectF::y()constMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QRectF
public QRectF()See QRectF::QRectF()
-
QRectF
-
QRectF
-
QRectF
-
QRectF
public QRectF(double left, double top, double width, double height) -
QRectF
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
adjust
-
adjusted
-
bottom
-
bottomLeft
-
bottomRight
-
center
-
contains
-
contains
-
contains
-
height
-
intersected
-
intersects
-
isEmpty
-
isNull
-
isValid
-
left
-
marginsAdded
-
marginsRemoved
-
moveBottom
-
moveBottomLeft
-
moveBottomRight
-
moveCenter
-
moveLeft
-
moveRight
-
moveTo
-
moveTo
-
moveTop
-
moveTopLeft
-
moveTopRight
-
normalized
-
add
-
subtract
-
writeTo
-
readFrom
-
right
-
setBottom
-
setBottomLeft
-
setBottomRight
-
setCoords
-
setHeight
-
setLeft
-
setRect
-
setRight
-
setSize
-
setTop
-
setTopLeft
-
setTopRight
-
setWidth
-
setX
-
setY
-
size
-
toAlignedRect
-
toRect
-
top
-
topLeft
-
topRight
-
translate
-
translate
-
translated
-
translated
-
transposed
-
united
-
width
-
x
See QRectF::x()const
-
y
See QRectF::y()const
-
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
-