java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QBrush
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines the fill pattern of shapes drawn by QPainter
Java wrapper for Qt's class QBrush
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQBrush()
See QBrush::QBrush()QBrush
(Qt.BrushStyle bs) QBrush
(Qt.GlobalColor color, QPixmap pixmap) Overloaded constructor forQBrush(io.qt.gui.QColor, io.qt.core.Qt.BrushStyle)
withbs = io.qt.core.Qt.BrushStyle.SolidPattern
.QBrush
(QColor color, Qt.BrushStyle bs) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
final QColor
color()
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final QGradient
gradient()
int
hashCode()
final boolean
final boolean
isOpaque()
void
readFrom
(QDataStream arg__1) final void
setColor
(Qt.GlobalColor color) final void
final void
setStyle
(Qt.BrushStyle arg__1) final void
setTexture
(QPixmap pixmap) final void
setTextureImage
(QImage image) final void
setTransform
(QTransform arg__1) final Qt.BrushStyle
style()
final void
final QPixmap
texture()
final QImage
toString()
final QTransform
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QBrush
public QBrush()See QBrush::QBrush()
-
QBrush
-
QBrush
-
QBrush
-
QBrush
Overloaded constructor for
QBrush(io.qt.gui.QColor, io.qt.core.Qt.BrushStyle)
withbs = io.qt.core.Qt.BrushStyle.SolidPattern
. -
QBrush
-
QBrush
-
QBrush
-
QBrush
-
QBrush
-
QBrush
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
color
-
gradient
-
isDetached
-
isOpaque
-
writeTo
-
readFrom
-
setColor
-
setColor
-
setStyle
-
setTexture
-
setTextureImage
-
setTransform
-
style
-
swap
-
texture
-
textureImage
-
transform
-
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
-