- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used in combination with QBrush to specify a radial gradient brush
Java wrapper for Qt class QRadialGradient
-
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
ConstructorDescriptionQRadialGradient
(double cx, double cy, double radius) QRadialGradient
(double cx, double cy, double radius, double fx, double fy) QRadialGradient
(double cx, double cy, double centerRadius, double fx, double fy, double focalRadius) QRadialGradient
(QPointF center, double radius) QRadialGradient
(QPointF center, double radius, QPoint focalPoint) Overloaded constructor forQRadialGradient(io.qt.core.QPointF, double, io.qt.core.QPointF)
.QRadialGradient
(QPointF center, double radius, QPointF focalPoint) QRadialGradient
(QPointF center, double centerRadius, QPointF focalPoint, double focalRadius) QRadialGradient
(QPointF center, double centerRadius, QPoint focalPoint, double focalRadius) Overloaded constructor forQRadialGradient(io.qt.core.QPointF, double, io.qt.core.QPointF, double)
.QRadialGradient
(QPoint center, double radius) Overloaded constructor forQRadialGradient(io.qt.core.QPointF, double)
.QRadialGradient
(QPoint center, double radius, QPoint focalPoint) Overloaded constructor forQRadialGradient(io.qt.core.QPointF, double, io.qt.core.QPointF)
.QRadialGradient
(QPoint center, double radius, QPointF focalPoint) Overloaded constructor forQRadialGradient(io.qt.core.QPointF, double, io.qt.core.QPointF)
.QRadialGradient
(QPoint center, double centerRadius, QPointF focalPoint, double focalRadius) Overloaded constructor forQRadialGradient(io.qt.core.QPointF, double, io.qt.core.QPointF, double)
.QRadialGradient
(QPoint center, double centerRadius, QPoint focalPoint, double focalRadius) Overloaded constructor forQRadialGradient(io.qt.core.QPointF, double, io.qt.core.QPointF, double)
.QRadialGradient
(QRadialGradient other) SeeQRadialGradient::
QRadialGradient(QRadialGradient) -
Method Summary
Modifier and TypeMethodDescriptionfinal QPointF
center()
final double
clone()
Creates and returns a copy of this object.final QPointF
final double
int
hashCode()
Returns the objects's hash code computed byqHash(QRadialGradient)
.final double
radius()
final void
setCenter
(double x, double y) final void
Overloaded function forsetCenter(io.qt.core.QPointF)
.final void
final void
setCenterRadius
(double radius) final void
setFocalPoint
(double x, double y) final void
setFocalPoint
(QPoint focalPoint) Overloaded function forsetFocalPoint(io.qt.core.QPointF)
.final void
setFocalPoint
(QPointF focalPoint) final void
setFocalRadius
(double radius) final void
setRadius
(double radius) 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
-
QRadialGradient
public QRadialGradient() -
QRadialGradient
-
QRadialGradient
-
QRadialGradient
-
QRadialGradient
See
QRadialGradient::
QRadialGradient(QRadialGradient) -
QRadialGradient
public QRadialGradient(double cx, double cy, double radius) -
QRadialGradient
public QRadialGradient(double cx, double cy, double radius, double fx, double fy) -
QRadialGradient
public QRadialGradient(double cx, double cy, double centerRadius, double fx, double fy, double focalRadius) -
QRadialGradient
Overloaded constructor for
QRadialGradient(io.qt.core.QPointF, double)
. -
QRadialGradient
Overloaded constructor for
QRadialGradient(io.qt.core.QPointF, double, io.qt.core.QPointF)
. -
QRadialGradient
Overloaded constructor for
QRadialGradient(io.qt.core.QPointF, double, io.qt.core.QPointF)
. -
QRadialGradient
Overloaded constructor for
QRadialGradient(io.qt.core.QPointF, double, io.qt.core.QPointF)
. -
QRadialGradient
Overloaded constructor for
QRadialGradient(io.qt.core.QPointF, double, io.qt.core.QPointF, double)
. -
QRadialGradient
Overloaded constructor for
QRadialGradient(io.qt.core.QPointF, double, io.qt.core.QPointF, double)
. -
QRadialGradient
Overloaded constructor for
QRadialGradient(io.qt.core.QPointF, double, io.qt.core.QPointF, double)
.
-
-
Method Details
-
center
-
centerRadius
-
focalPoint
-
focalRadius
-
radius
-
setCenter
-
setCenter
-
setCenterRadius
-
setFocalPoint
-
setFocalPoint
-
setFocalRadius
-
setRadius
-
hashCode
Returns the objects's hash code computed byqHash(QRadialGradient)
. -
clone
Creates and returns a copy of this object.
See
QRadialGradient::
QRadialGradient(QRadialGradient) -
setCenter
Overloaded function for
setCenter(io.qt.core.QPointF)
. -
setFocalPoint
Overloaded function for
setFocalPoint(io.qt.core.QPointF)
.
-