java.lang.Object
io.qt.QtObject
io.qt.core.QRectF
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines a 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
ConstructorDescriptionQRectF()
SeeQRectF::
QRectF() QRectF
(double left, double top, double width, double height) -
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()
Creates and returns a copy of this object.final boolean
contains
(double x, double y) final boolean
final boolean
boolean
Seeoperator==(QRectF,
QRectF) int
hashCode()
Returns the objects's hash code computed byqHash(QRectF)
.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 QRectF
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
final QRectF
Seeoperator+(QRectF,
QMarginsF) 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()
Seeoperator<<(QDebug,
QRectF) 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()
SeeQRectF::
x()const final double
y()
SeeQRectF::
y()const Methods 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)
-
-
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
-
plus
See
operator+(QRectF,
QMarginsF) -
add
-
minus
-
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
See
operator==(QRectF,
QRectF) -
hashCode
Returns the objects's hash code computed byqHash(QRectF)
. -
toString
See
operator<<(QDebug,
QRectF) -
clone
Creates and returns a copy of this object.
-