java.lang.Object
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 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
ConstructorDescriptionQLinearGradient
(double xStart, double yStart, double xFinalStop, double yFinalStop) QLinearGradient
(QPointF start, QPointF finalStop) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final QPointF
int
hashCode()
Returns the objects's hash code computed byqHash(QLinearGradient)
.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)
-
-
Method Details