java.lang.Object
io.qt.QtObject
io.qt.gui.QGradient
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Direct Known Subclasses:
QConicalGradient
,QLinearGradient
,QRadialGradient
Used in combination with QBrush to specify gradient fills
Java wrapper for Qt class QGradient
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQGradient::CoordinateMode
static enum
Java wrapper for Qt enumQGradient::InterpolationMode
static enum
Java wrapper for Qt enumQGradient::Preset
static enum
Java wrapper for Qt enumQGradient::Spread
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final QGradient.CoordinateMode
static QGradient
create
(QGradient.Preset preset) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QGradient)
.SeeQGradient::
interpolationMode()const final void
setColorAt
(double pos, Qt.GlobalColor color) Overloaded function forsetColorAt(double, io.qt.gui.QColor)
.final void
setColorAt
(double pos, QColor color) final void
setColorAt
(double pos, QRgba64 color) Overloaded function forsetColorAt(double, io.qt.gui.QColor)
.final void
setColorAt
(double pos, String color) Overloaded function forsetColorAt(double, io.qt.gui.QColor)
.final void
final void
SeeQGradient::
setInterpolationMode(QGradient::InterpolationMode) final void
setSpread
(QGradient.Spread spread) final void
setStops
(Collection<? extends QPair<@QtPrimitiveType Double, QColor>> stops) final QGradient.Spread
spread()
final QVector
<QPair<@QtPrimitiveType Double, QColor>> stops()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QGradient
-
-
Method Details
-
coordinateMode
-
interpolationMode
See
QGradient::
interpolationMode()const -
setColorAt
-
setCoordinateMode
-
setInterpolationMode
See
QGradient::
setInterpolationMode(QGradient::InterpolationMode) -
setSpread
-
setStops
@QtUninvokable public final void setStops(Collection<? extends QPair<@QtPrimitiveType Double, QColor>> stops) -
spread
-
stops
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QGradient)
. -
create
-
clone
Creates and returns a copy of this object.
-
setColorAt
Overloaded function for
setColorAt(double, io.qt.gui.QColor)
. -
setColorAt
Overloaded function for
setColorAt(double, io.qt.gui.QColor)
. -
setColorAt
Overloaded function for
setColorAt(double, io.qt.gui.QColor)
.
-