java.lang.Object
io.qt.QtObject
io.qt.gui.QGradient
io.qt.gui.QConicalGradient
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used in combination with QBrush to specify a conical gradient brush
Java wrapper for Qt class QConicalGradient
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.gui.QGradient
QGradient.CoordinateMode, QGradient.InterpolationMode, QGradient.Preset, QGradient.Spread
-
Field Summary
Fields inherited from class io.qt.gui.QGradient
staticMetaObject
-
Constructor Summary
ConstructorDescriptionQConicalGradient
(double cx, double cy, double startAngle) QConicalGradient
(QPointF center, double startAngle) QConicalGradient
(QPoint center, double startAngle) Overloaded constructor forQConicalGradient(io.qt.core.QPointF, double)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal double
angle()
final QPointF
center()
clone()
Creates and returns a copy of this object.int
hashCode()
Returns the objects's hash code computed byqHash(QConicalGradient)
.final void
setAngle
(double angle) final void
setCenter
(double x, double y) final void
Overloaded function forsetCenter(io.qt.core.QPointF)
.final void
Methods inherited from class io.qt.gui.QGradient
coordinateMode, create, equals, interpolationMode, setColorAt, setColorAt, setColorAt, setColorAt, setCoordinateMode, setInterpolationMode, setSpread, setStops, spread, stops
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QConicalGradient
public QConicalGradient() -
QConicalGradient
-
QConicalGradient
public QConicalGradient(double cx, double cy, double startAngle) -
QConicalGradient
Overloaded constructor for
QConicalGradient(io.qt.core.QPointF, double)
.
-
-
Method Details
-
angle
-
center
-
setAngle
-
setCenter
-
setCenter
-
hashCode
Returns the objects's hash code computed byqHash(QConicalGradient)
. -
clone
Creates and returns a copy of this object.
-
setCenter
Overloaded function for
setCenter(io.qt.core.QPointF)
.
-