- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines the fill pattern of shapes drawn by QPainter
Java wrapper for Qt class QBrush
-
Constructor Summary
ConstructorDescriptionQBrush()
SeeQBrush::
QBrush() QBrush
(Qt.BrushStyle bs) QBrush
(Qt.GlobalColor color) Overloaded constructor forQBrush(io.qt.core.Qt.GlobalColor, io.qt.core.Qt.BrushStyle)
withbs = io.qt.core.Qt.BrushStyle.SolidPattern
.QBrush
(Qt.GlobalColor color, 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) Overloaded constructor forQBrush(io.qt.gui.QRgba64, io.qt.core.Qt.BrushStyle)
withbs = io.qt.core.Qt.BrushStyle.SolidPattern
.QBrush
(QRgba64 color, Qt.BrushStyle bs) Overloaded constructor forQBrush(io.qt.gui.QColor, io.qt.core.Qt.BrushStyle)
.Overloaded constructor forQBrush(io.qt.gui.QColor, io.qt.gui.QPixmap)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(Qt.BrushStyle brush) Overloaded function forassign(io.qt.gui.QBrush)
.final void
assign
(Qt.GlobalColor brush) Overloaded function forassign(io.qt.gui.QBrush)
.final void
final void
Overloaded function forassign(io.qt.gui.QBrush)
.final void
Overloaded function forassign(io.qt.gui.QBrush)
.final void
Overloaded function forassign(io.qt.gui.QBrush)
.final void
Overloaded function forassign(io.qt.gui.QBrush)
.clone()
Creates and returns a copy of this object.final QColor
color()
final boolean
Overloaded function forequals(io.qt.gui.QBrush)
.final boolean
Overloaded function forequals(io.qt.gui.QBrush)
.final boolean
final boolean
Overloaded function forequals(io.qt.gui.QBrush)
.final boolean
Overloaded function forequals(io.qt.gui.QBrush)
.final boolean
Overloaded function forequals(io.qt.gui.QBrush)
.final boolean
Overloaded function forequals(io.qt.gui.QBrush)
.boolean
final QGradient
gradient()
int
hashCode()
Returns the objects's hash code computed byqHash(QBrush)
.final boolean
SeeQBrush::
isDetached()const final boolean
isOpaque()
static boolean
qHasPixmapTexture
(Qt.BrushStyle brush) Overloaded function forqHasPixmapTexture(io.qt.gui.QBrush)
.static boolean
qHasPixmapTexture
(Qt.GlobalColor brush) Overloaded function forqHasPixmapTexture(io.qt.gui.QBrush)
.static boolean
qHasPixmapTexture
(QBrush brush) SeeqHasPixmapTexture(QBrush)
static boolean
qHasPixmapTexture
(QColor brush) Overloaded function forqHasPixmapTexture(io.qt.gui.QBrush)
.static boolean
qHasPixmapTexture
(QGradient brush) Overloaded function forqHasPixmapTexture(io.qt.gui.QBrush)
.static boolean
qHasPixmapTexture
(QImage brush) Overloaded function forqHasPixmapTexture(io.qt.gui.QBrush)
.static boolean
qHasPixmapTexture
(QPixmap brush) Overloaded function forqHasPixmapTexture(io.qt.gui.QBrush)
.void
readFrom
(QDataStream arg__1) final void
setColor
(Qt.GlobalColor color) final void
final void
Overloaded function forsetColor(io.qt.gui.QColor)
.final void
Overloaded function forsetColor(io.qt.gui.QColor)
.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()
Seeoperator<<(QDebug,
QBrush) 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
-
QBrush
-
QBrush
-
QBrush
-
QBrush
-
QBrush
-
QBrush
Overloaded constructor for
QBrush(io.qt.gui.QColor, io.qt.gui.QPixmap)
. -
QBrush
Overloaded constructor for
QBrush(io.qt.gui.QColor, io.qt.core.Qt.BrushStyle)
withbs = io.qt.core.Qt.BrushStyle.SolidPattern
. -
QBrush
Overloaded constructor for
QBrush(io.qt.gui.QRgba64, io.qt.core.Qt.BrushStyle)
withbs = io.qt.core.Qt.BrushStyle.SolidPattern
. -
QBrush
Overloaded constructor for
QBrush(io.qt.gui.QColor, io.qt.core.Qt.BrushStyle)
. -
QBrush
Overloaded constructor for
QBrush(io.qt.core.Qt.GlobalColor, io.qt.core.Qt.BrushStyle)
withbs = io.qt.core.Qt.BrushStyle.SolidPattern
.
-
-
Method Details
-
color
-
gradient
-
isDetached
See
QBrush::
isDetached()const -
isOpaque
-
writeTo
-
assign
-
equals
-
readFrom
-
setColor
-
setColor
-
setStyle
-
setTexture
-
setTextureImage
-
setTransform
-
style
-
swap
-
texture
-
textureImage
-
transform
-
qHasPixmapTexture
See
qHasPixmapTexture(QBrush)
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QBrush)
. -
toString
See
operator<<(QDebug,
QBrush) -
clone
Creates and returns a copy of this object.
-
assign
Overloaded function for
assign(io.qt.gui.QBrush)
. -
assign
Overloaded function for
assign(io.qt.gui.QBrush)
. -
assign
Overloaded function for
assign(io.qt.gui.QBrush)
. -
assign
Overloaded function for
assign(io.qt.gui.QBrush)
. -
assign
Overloaded function for
assign(io.qt.gui.QBrush)
. -
assign
Overloaded function for
assign(io.qt.gui.QBrush)
. -
equals
Overloaded function for
equals(io.qt.gui.QBrush)
. -
equals
Overloaded function for
equals(io.qt.gui.QBrush)
. -
equals
Overloaded function for
equals(io.qt.gui.QBrush)
. -
equals
Overloaded function for
equals(io.qt.gui.QBrush)
. -
equals
Overloaded function for
equals(io.qt.gui.QBrush)
. -
equals
Overloaded function for
equals(io.qt.gui.QBrush)
. -
setColor
Overloaded function for
setColor(io.qt.gui.QColor)
. -
setColor
Overloaded function for
setColor(io.qt.gui.QColor)
. -
qHasPixmapTexture
Overloaded function for
qHasPixmapTexture(io.qt.gui.QBrush)
. -
qHasPixmapTexture
Overloaded function for
qHasPixmapTexture(io.qt.gui.QBrush)
. -
qHasPixmapTexture
Overloaded function for
qHasPixmapTexture(io.qt.gui.QBrush)
. -
qHasPixmapTexture
Overloaded function for
qHasPixmapTexture(io.qt.gui.QBrush)
. -
qHasPixmapTexture
Overloaded function for
qHasPixmapTexture(io.qt.gui.QBrush)
. -
qHasPixmapTexture
Overloaded function for
qHasPixmapTexture(io.qt.gui.QBrush)
.
-