java.lang.Object
io.qt.internal.QtJambiObject
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
ModifierConstructorDescriptionQRadialGradient
(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) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QPointF
center()
final double
clone()
final QPointF
final double
int
hashCode()
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) -
QRadialGradient
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details