java.lang.Object
io.qt.QtObject
io.qt.gui.QGradient
io.qt.gui.QRadialGradient
- 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
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
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, QPointF focalPoint) QRadialGradient
(QPointF center, double centerRadius, QPointF focalPoint, double focalRadius) -
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
final void
setCenterRadius
(double radius) final void
setFocalPoint
(double x, double y) 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, setCoordinateMode, setInterpolationMode, setSpread, setStops, spread, stops
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QRadialGradient
public QRadialGradient() -
QRadialGradient
-
QRadialGradient
-
QRadialGradient
-
QRadialGradient
public QRadialGradient(double cx, double cy, double centerRadius, double fx, double fy, double focalRadius) -
QRadialGradient
public QRadialGradient(double cx, double cy, double radius) -
QRadialGradient
public QRadialGradient(double cx, double cy, double radius, double fx, double fy)
-
-
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.
-