- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines a finite rectangle in the plane using floating point precision
Java wrapper for Qt class QRectF
-
Constructor Summary
ConstructorDescriptionQRectF()
SeeQRectF::
QRectF() QRectF
(double left, double top, double width, double height) Overloaded constructor forQRectF(io.qt.core.QPointF, io.qt.core.QPointF)
.Overloaded constructor forQRectF(io.qt.core.QPointF, io.qt.core.QSizeF)
.Overloaded constructor forQRectF(io.qt.core.QPointF, io.qt.core.QPointF)
.Overloaded constructor forQRectF(io.qt.core.QPointF, io.qt.core.QPointF)
.Overloaded constructor forQRectF(io.qt.core.QPointF, io.qt.core.QSizeF)
.Overloaded constructor forQRectF(io.qt.core.QPointF, io.qt.core.QSizeF)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal QRectF
Overloaded function foradd(io.qt.core.QMarginsF)
.final 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
Overloaded function forcontains(io.qt.core.QPointF)
.final boolean
final boolean
Overloaded function forcontains(io.qt.core.QRectF)
.final boolean
final boolean
Overloaded function forequals(io.qt.core.QRectF)
.final boolean
boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QRectF)
.final double
height()
final QRectF
intersected
(QRect other) Overloaded function forintersected(io.qt.core.QRectF)
.final QRectF
intersected
(QRectF other) final boolean
intersects
(QRect r) Overloaded function forintersects(io.qt.core.QRectF)
.final boolean
intersects
(QRectF r) final boolean
isEmpty()
final boolean
isNull()
final boolean
isValid()
final double
left()
final QRectF
marginsAdded
(QMargins margins) Overloaded function formarginsAdded(io.qt.core.QMarginsF)
.final QRectF
marginsAdded
(QMarginsF margins) final QRectF
marginsRemoved
(QMargins margins) Overloaded function formarginsRemoved(io.qt.core.QMarginsF)
.final QRectF
marginsRemoved
(QMarginsF margins) final QRectF
Overloaded function forminus(io.qt.core.QMarginsF)
.final QRectF
final void
moveBottom
(double pos) final void
Overloaded function formoveBottomLeft(io.qt.core.QPointF)
.final void
final void
Overloaded function formoveBottomRight(io.qt.core.QPointF)
.final void
final void
moveCenter
(QPoint p) Overloaded function formoveCenter(io.qt.core.QPointF)
.final void
final void
moveLeft
(double pos) final void
moveRight
(double pos) final void
moveTo
(double x, double y) final void
Overloaded function formoveTo(io.qt.core.QPointF)
.final void
final void
moveTop
(double pos) final void
Overloaded function formoveTopLeft(io.qt.core.QPointF)
.final void
final void
Overloaded function formoveTopRight(io.qt.core.QPointF)
.final void
final QRectF
final QRectF
Overloaded function forplus(io.qt.core.QMarginsF)
.final QRectF
Seeoperator+(QRectF,
QMarginsF) void
readFrom
(QDataStream arg__1) final double
right()
final void
setBottom
(double pos) final void
Overloaded function forsetBottomLeft(io.qt.core.QPointF)
.final void
final void
Overloaded function forsetBottomRight(io.qt.core.QPointF)
.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
Overloaded function forsetSize(io.qt.core.QSizeF)
.final void
final void
setTop
(double pos) final void
setTopLeft
(QPoint p) Overloaded function forsetTopLeft(io.qt.core.QPointF)
.final void
final void
Overloaded function forsetTopRight(io.qt.core.QPointF)
.final void
final void
setWidth
(double w) final void
setX
(double pos) final void
setY
(double pos) final QSizeF
size()
final QRectF
Overloaded function forsubtract(io.qt.core.QMarginsF)
.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
Overloaded function fortranslate(io.qt.core.QPointF)
.final void
final QRectF
translated
(double dx, double dy) final QRectF
translated
(QPoint p) Overloaded function fortranslated(io.qt.core.QPointF)
.final QRectF
final QRectF
final QRectF
Overloaded function forunited(io.qt.core.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) -
QRectF
Overloaded constructor for
QRectF(io.qt.core.QPointF, io.qt.core.QPointF)
. -
QRectF
Overloaded constructor for
QRectF(io.qt.core.QPointF, io.qt.core.QPointF)
. -
QRectF
Overloaded constructor for
QRectF(io.qt.core.QPointF, io.qt.core.QPointF)
. -
QRectF
Overloaded constructor for
QRectF(io.qt.core.QPointF, io.qt.core.QSizeF)
. -
QRectF
Overloaded constructor for
QRectF(io.qt.core.QPointF, io.qt.core.QSizeF)
. -
QRectF
Overloaded constructor for
QRectF(io.qt.core.QPointF, io.qt.core.QSizeF)
.
-
-
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
-
equals
-
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
-
hashCode
Returns the objects's hash code computed byqHash(QRectF)
. -
toString
See
operator<<(QDebug,
QRectF) -
clone
Creates and returns a copy of this object.
-
contains
Overloaded function for
contains(io.qt.core.QPointF)
. -
contains
Overloaded function for
contains(io.qt.core.QRectF)
. -
intersected
Overloaded function for
intersected(io.qt.core.QRectF)
. -
intersects
Overloaded function for
intersects(io.qt.core.QRectF)
. -
marginsAdded
Overloaded function for
marginsAdded(io.qt.core.QMarginsF)
. -
marginsRemoved
Overloaded function for
marginsRemoved(io.qt.core.QMarginsF)
. -
moveBottomLeft
Overloaded function for
moveBottomLeft(io.qt.core.QPointF)
. -
moveBottomRight
Overloaded function for
moveBottomRight(io.qt.core.QPointF)
. -
moveCenter
Overloaded function for
moveCenter(io.qt.core.QPointF)
. -
moveTo
Overloaded function for
moveTo(io.qt.core.QPointF)
. -
moveTopLeft
Overloaded function for
moveTopLeft(io.qt.core.QPointF)
. -
moveTopRight
Overloaded function for
moveTopRight(io.qt.core.QPointF)
. -
plus
Overloaded function for
plus(io.qt.core.QMarginsF)
. -
add
Overloaded function for
add(io.qt.core.QMarginsF)
. -
minus
Overloaded function for
minus(io.qt.core.QMarginsF)
. -
subtract
Overloaded function for
subtract(io.qt.core.QMarginsF)
. -
equals
Overloaded function for
equals(io.qt.core.QRectF)
. -
setBottomLeft
Overloaded function for
setBottomLeft(io.qt.core.QPointF)
. -
setBottomRight
Overloaded function for
setBottomRight(io.qt.core.QPointF)
. -
setSize
Overloaded function for
setSize(io.qt.core.QSizeF)
. -
setTopLeft
Overloaded function for
setTopLeft(io.qt.core.QPointF)
. -
setTopRight
Overloaded function for
setTopRight(io.qt.core.QPointF)
. -
translate
Overloaded function for
translate(io.qt.core.QPointF)
. -
translated
Overloaded function for
translated(io.qt.core.QPointF)
. -
united
Overloaded function for
united(io.qt.core.QRectF)
.
-