java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QRegion
- All Implemented Interfaces:
QtObjectInterface,Cloneable,Iterable<QRect>
Specifies a clip region for a painter
Java wrapper for Qt class QRegion
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQRegion()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) protectedConstructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionbegin()final QRectclone()final booleanfinal booleanend()booleanUsed to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.inthashCode()final QRegionintersected(QRect r) final QRegionfinal booleanintersects(QRect r) final booleanfinal booleanisEmpty()final booleanisNull()iterator()voidreadFrom(QDataStream arg__1) final intfinal voidfinal QRegionfinal voidtoString()final voidtranslate(int dx, int dy) final voidfinal QRegiontranslated(int dx, int dy) final QRegiontranslated(QPoint p) final QRegionfinal QRegionvoidwriteTo(QDataStream arg__1) final QRegionMethods inherited from class io.qt.QtObject
dispose, isDisposedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
QRegion
public QRegion() -
QRegion
-
QRegion
Overloaded constructor for
QRegion(io.qt.gui.QPolygon, io.qt.core.Qt.FillRule)withfillRule = io.qt.core.Qt.FillRule.OddEvenFill. -
QRegion
-
QRegion
Overloaded constructor for
QRegion(io.qt.core.QRect, io.qt.gui.QRegion.RegionType)witht = io.qt.gui.QRegion.RegionType.Rectangle. -
QRegion
-
QRegion
-
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. -
QRegion
-
QRegion
Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
begin
-
boundingRect
-
contains
-
contains
-
end
-
intersected
-
intersected
-
intersects
-
intersects
-
isEmpty
-
isNull
-
writeTo
-
readFrom
-
rectCount
-
setRects
-
subtracted
-
swap
-
translate
-
translate
-
translated
-
translated
-
united
-
united
-
xored
-
iterator
-
equals
Description copied from class:QtObjectUsed 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
-