java.lang.Object
io.qt.internal.QtJambiObject
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's class QGradient
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QGradient::CoordinateModestatic enum
Java wrapper for Qt enum QGradient::InterpolationModestatic enum
Java wrapper for Qt enum QGradient::Presetstatic enum
Java wrapper for Qt enum QGradient::SpreadNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
final QGradient.CoordinateMode
static QGradient
create
(QGradient.Preset preset) boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
final void
setColorAt
(double pos, QColor color) final void
final void
final void
setSpread
(QGradient.Spread spread) final void
setStops
(Collection<? extends QPair<Double, QColor>> stops) final QGradient.Spread
spread()
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
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
coordinateMode
-
interpolationMode
-
setColorAt
-
setCoordinateMode
-
setInterpolationMode
-
setSpread
-
setStops
-
spread
-
stops
-
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
-
create
-
clone
-