java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QGradient
io.qt.gui.QRadialGradient
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QRadialGradient extends QGradient implements 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
-
Constructor Summary
Constructors Modifier Constructor Description QRadialGradient()
QRadialGradient(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
QRadialGradient(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QPointF
center()
double
centerRadius()
QRadialGradient
clone()
QPointF
focalPoint()
double
focalRadius()
int
hashCode()
double
radius()
void
setCenter(double x, double y)
void
setCenter(QPointF center)
void
setCenterRadius(double radius)
void
setFocalPoint(double x, double y)
void
setFocalPoint(QPointF focalPoint)
void
setFocalRadius(double radius)
void
setRadius(double radius)
Methods inherited from class io.qt.gui.QGradient
coordinateMode, create, equals, interpolationMode, setColorAt, setCoordinateMode, setInterpolationMode, setSpread, setStops, spread, stops
-
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