- 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
- Parameters:
center
-radius
-
-
QRadialGradient
- Parameters:
center
-radius
-focalPoint
-
-
QRadialGradient
- Parameters:
center
-centerRadius
-focalPoint
-focalRadius
-- Since:
- This function was introduced in Qt 4.8.
-
QRadialGradient
See
QRadialGradient::
QRadialGradient(QRadialGradient) - Parameters:
other
-
-
QRadialGradient
public QRadialGradient(double cx, double cy, double radius) - Parameters:
cx
-cy
-radius
-
-
QRadialGradient
public QRadialGradient(double cx, double cy, double radius, double fx, double fy) - Parameters:
cx
-cy
-radius
-fx
-fy
-
-
QRadialGradient
public QRadialGradient(double cx, double cy, double centerRadius, double fx, double fy, double focalRadius) - Parameters:
cx
-cy
-centerRadius
-fx
-fy
-focalRadius
-- Since:
- This function was introduced in Qt 4.8.
-
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
- Returns:
-
centerRadius
- Returns:
- Since:
- This function was introduced in Qt 4.8.
-
focalPoint
- Returns:
-
focalRadius
- Returns:
- Since:
- This function was introduced in Qt 4.8.
-
radius
- Returns:
-
setCenter
- Parameters:
center
-- Since:
- This function was introduced in Qt 4.2.
-
setCenter
- Parameters:
x
-y
-- Since:
- This function was introduced in Qt 4.2.
-
setCenterRadius
- Parameters:
radius
-- Since:
- This function was introduced in Qt 4.8.
-
setFocalPoint
- Parameters:
focalPoint
-- Since:
- This function was introduced in Qt 4.2.
-
setFocalPoint
- Parameters:
x
-y
-- Since:
- This function was introduced in Qt 4.2.
-
setFocalRadius
- Parameters:
radius
-- Since:
- This function was introduced in Qt 4.8.
-
setRadius
- Parameters:
radius
-- Since:
- This function was introduced in Qt 4.2.
-
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)
.
-