java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QGradient
io.qt.gui.QLinearGradient
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used in combination with QBrush to specify a linear gradient brush
Java wrapper for Qt's class QLinearGradient
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.gui.QGradient
QGradient.CoordinateMode, QGradient.InterpolationMode, QGradient.Preset, QGradient.Spread
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Fields inherited from class io.qt.gui.QGradient
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionQLinearGradient
(double xStart, double yStart, double xFinalStop, double yFinalStop) QLinearGradient
(QPointF start, QPointF finalStop) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
final QPointF
int
hashCode()
final void
setFinalStop
(double x, double y) final void
setFinalStop
(QPointF stop) final void
setStart
(double x, double y) final void
final QPointF
start()
Methods inherited from class io.qt.gui.QGradient
coordinateMode, create, equals, interpolationMode, setColorAt, setCoordinateMode, setInterpolationMode, setSpread, setStops, spread, stops
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QLinearGradient
public QLinearGradient() -
QLinearGradient
-
QLinearGradient
public QLinearGradient(double xStart, double yStart, double xFinalStop, double yFinalStop) -
QLinearGradient
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details