- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<QRect>
Specifies a clip region for a painter
Java wrapper for Qt class QRegion
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionQRegion()
QRegion
(int x, int y, int w, int h) Overloaded constructor forQRegion(int, int, int, int, io.qt.gui.QRegion.RegionType)
witht = io.qt.gui.QRegion.RegionType.Rectangle
.QRegion
(int x, int y, int w, int h, QRegion.RegionType t) Overloaded constructor forQRegion(io.qt.core.QRect, io.qt.gui.QRegion.RegionType)
witht = io.qt.gui.QRegion.RegionType.Rectangle
.QRegion
(QRect r, QRegion.RegionType t) Overloaded constructor forQRegion(io.qt.gui.QPolygon, io.qt.core.Qt.FillRule)
withfillRule = io.qt.core.Qt.FillRule.OddEvenFill
.QRegion
(QPolygon pa, Qt.FillRule fillRule) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
Overloaded function forassign(io.qt.gui.QRegion)
.final void
Overloaded function forassign(io.qt.gui.QRegion)
.final void
Overloaded function forassign(io.qt.gui.QRegion)
.final void
protected final QSequentialConstIterator<QRect>
begin()
final QRect
clone()
Creates and returns a copy of this object.final boolean
final boolean
protected final QSequentialConstIterator<QRect>
end()
final boolean
Overloaded function forequals(io.qt.gui.QRegion)
.final boolean
Overloaded function forequals(io.qt.gui.QRegion)
.final boolean
Overloaded function forequals(io.qt.gui.QRegion)
.final boolean
boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QRegion)
.final QRegion
intersected
(QRect r) final QRegion
Overloaded function forintersected(io.qt.gui.QRegion)
.final QRegion
Overloaded function forintersected(io.qt.gui.QRegion)
.final QRegion
final boolean
intersects
(QRect r) final boolean
Overloaded function forintersects(io.qt.gui.QRegion)
.final boolean
Overloaded function forintersects(io.qt.gui.QRegion)
.final boolean
final boolean
isEmpty()
final boolean
isNull()
iterator()
Returns an iterator for this iterable object.final QRegion
Overloaded function forminus(io.qt.gui.QRegion)
.final QRegion
Overloaded function forminus(io.qt.gui.QRegion)
.final QRegion
Overloaded function forminus(io.qt.gui.QRegion)
.final QRegion
final QRegion
final QRegion
Overloaded function forplus(io.qt.gui.QRegion)
.final QRegion
Overloaded function forplus(io.qt.gui.QRegion)
.final QRegion
void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QRegion&) final int
rects()
final void
final QRegion
subtracted
(QRect r) Overloaded function forsubtracted(io.qt.gui.QRegion)
.final QRegion
Overloaded function forsubtracted(io.qt.gui.QRegion)
.final QRegion
Overloaded function forsubtracted(io.qt.gui.QRegion)
.final QRegion
final void
final QRegion
times
(QTransform m) Seeoperator*(QRegion,
QTransform) toString()
Seeoperator<<(QDebug,
QRegion) final void
translate
(int dx, int dy) final void
final QRegion
translated
(int dx, int dy) final QRegion
translated
(QPoint p) final QRegion
final QRegion
Overloaded function forunited(io.qt.gui.QRegion)
.final QRegion
Overloaded function forunited(io.qt.gui.QRegion)
.final QRegion
void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QRegion) final QRegion
Overloaded function forxored(io.qt.gui.QRegion)
.final QRegion
Overloaded function forxored(io.qt.gui.QRegion)
.final QRegion
Overloaded function forxored(io.qt.gui.QRegion)
.final QRegion
Methods inherited from class io.qt.QtObject
dispose, isDisposed
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
QRegion
public QRegion() -
QRegion
- Parameters:
bitmap
-
-
QRegion
- Parameters:
pa
-fillRule
-
-
QRegion
- Parameters:
r
-t
-
-
QRegion
- Parameters:
region
-
-
QRegion
- Parameters:
x
-y
-w
-h
-t
-
-
QRegion
Overloaded constructor for
QRegion(io.qt.gui.QPolygon, io.qt.core.Qt.FillRule)
withfillRule = io.qt.core.Qt.FillRule.OddEvenFill
. -
QRegion
Overloaded constructor for
QRegion(io.qt.core.QRect, io.qt.gui.QRegion.RegionType)
witht = io.qt.gui.QRegion.RegionType.Rectangle
. -
QRegion
public QRegion(int x, int y, int w, int h) Overloaded constructor for
QRegion(int, int, int, int, io.qt.gui.QRegion.RegionType)
witht = io.qt.gui.QRegion.RegionType.Rectangle
.
-
-
Method Details
-
begin
- Returns:
- Since:
- This function was introduced in Qt 5.8.
-
boundingRect
- Returns:
-
contains
- Parameters:
p
-- Returns:
-
contains
- Parameters:
r
-- Returns:
-
end
- Returns:
- Since:
- This function was introduced in Qt 5.8.
-
intersected
- Parameters:
r
-- Returns:
- Since:
- This function was introduced in Qt 4.4.
-
intersected
- Parameters:
r
-- Returns:
- Since:
- This function was introduced in Qt 4.2.
-
intersects
- Parameters:
r
-- Returns:
- Since:
- This function was introduced in Qt 4.2.
-
intersects
- Parameters:
r
-- Returns:
- Since:
- This function was introduced in Qt 4.2.
-
isEmpty
- Returns:
-
isNull
- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
times
See
operator*(QRegion,
QTransform) - Parameters:
m
-- Returns:
-
plus
- Parameters:
r
-- Returns:
- Since:
- This function was introduced in Qt 4.4.
-
plus
- Parameters:
r
-- Returns:
-
minus
- Parameters:
r
-- Returns:
-
writeTo
See
operator<<(QDataStream&,
QRegion) - Parameters:
arg__1
-
-
assign
- Parameters:
arg__1
-
-
equals
- Parameters:
r
-- Returns:
-
readFrom
See
operator>>(QDataStream&,
QRegion&) - Parameters:
arg__1
-
-
rectCount
- Returns:
- Since:
- This function was introduced in Qt 4.6.
-
rects
- Returns:
-
setRects
- Parameters:
rect
-
-
subtracted
- Parameters:
r
-- Returns:
- Since:
- This function was introduced in Qt 4.2.
-
swap
- Parameters:
other
-- Since:
- This function was introduced in Qt 4.8.
-
translate
- Parameters:
p
-
-
translate
- Parameters:
dx
-dy
-
-
translated
- Parameters:
p
-- Returns:
- Since:
- This function was introduced in Qt 4.1.
-
translated
- Parameters:
dx
-dy
-- Returns:
- Since:
- This function was introduced in Qt 4.1.
-
united
- Parameters:
r
-- Returns:
- Since:
- This function was introduced in Qt 4.4.
-
united
- Parameters:
r
-- Returns:
- Since:
- This function was introduced in Qt 4.2.
-
xored
- Parameters:
r
-- Returns:
- Since:
- This function was introduced in Qt 4.2.
-
iterator
Returns an iterator for this iterable object. -
equals
-
hashCode
Returns the objects's hash code computed byqHash(QRegion)
. -
toString
See
operator<<(QDebug,
QRegion) -
clone
Creates and returns a copy of this object.
-
intersected
Overloaded function for
intersected(io.qt.gui.QRegion)
. -
intersected
Overloaded function for
intersected(io.qt.gui.QRegion)
. -
intersects
Overloaded function for
intersects(io.qt.gui.QRegion)
. -
intersects
Overloaded function for
intersects(io.qt.gui.QRegion)
. -
plus
Overloaded function for
plus(io.qt.gui.QRegion)
. -
plus
Overloaded function for
plus(io.qt.gui.QRegion)
. -
minus
Overloaded function for
minus(io.qt.gui.QRegion)
. -
minus
Overloaded function for
minus(io.qt.gui.QRegion)
. -
minus
Overloaded function for
minus(io.qt.gui.QRegion)
. -
assign
Overloaded function for
assign(io.qt.gui.QRegion)
. -
assign
Overloaded function for
assign(io.qt.gui.QRegion)
. -
assign
Overloaded function for
assign(io.qt.gui.QRegion)
. -
equals
Overloaded function for
equals(io.qt.gui.QRegion)
. -
equals
Overloaded function for
equals(io.qt.gui.QRegion)
. -
equals
Overloaded function for
equals(io.qt.gui.QRegion)
. -
subtracted
Overloaded function for
subtracted(io.qt.gui.QRegion)
. -
subtracted
Overloaded function for
subtracted(io.qt.gui.QRegion)
. -
subtracted
Overloaded function for
subtracted(io.qt.gui.QRegion)
. -
united
Overloaded function for
united(io.qt.gui.QRegion)
. -
united
Overloaded function for
united(io.qt.gui.QRegion)
. -
xored
Overloaded function for
xored(io.qt.gui.QRegion)
. -
xored
Overloaded function for
xored(io.qt.gui.QRegion)
. -
xored
Overloaded function for
xored(io.qt.gui.QRegion)
.
-