![]() Qt and respective logos are trademarks of The Qt Company Ltd. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Sets the radius of this radial gradient in logical coordinates to radiusĭocumentation contributions included herein are the copyrights of void QRadialGradient:: setRadius( qreal radius) ![]() ![]() ![]() Sets the focal radius of this radial gradient in logical coordinates to radius void QRadialGradient:: setFocalRadius( qreal radius) Sets the focal point of this radial gradient in logical coordinates to ( x, y). void QRadialGradient:: setFocalPoint( qreal x, qreal y) Sets the focal point of this radial gradient in logical coordinates to focalPoint. void QRadialGradient:: setFocalPoint(const QPointF & focalPoint) Sets the center radius of this radial gradient in logical coordinates to radius void QRadialGradient:: setCenterRadius( qreal radius) Sets the center of this radial gradient in logical coordinates to ( x, y). void QRadialGradient:: setCenter( qreal x, qreal y) Sets the center of this radial gradient in logical coordinates to center. void QRadialGradient:: setCenter(const QPointF & center) See also setRadius() and QGradient::stops(). Returns the radius of this radial gradient in logical coordinates. See also setFocalRadius() and QGradient::stops(). Returns the focal radius of this radial gradient in logical coordinates. qreal QRadialGradient:: focalRadius() const See also setFocalPoint() and QGradient::stops(). Returns the focal point of this radial gradient in logical coordinates. QPointF QRadialGradient:: focalPoint() const See also setCenterRadius() and QGradient::stops(). Returns the center radius of this radial gradient in logical coordinates. qreal QRadialGradient:: centerRadius() const See also setCenter() and QGradient::stops(). Returns the center of this radial gradient in logical coordinates. QRadialGradient:: QRadialGradient()Ĭonstructs a simple radial gradient with the center and focal point at (0, 0) with a radius of 1. See also QGradient::setColorAt() and QGradient::setStops(). Note: If the given focal point is outside the circle defined by the center point and radius, it will be re-adjusted to lie at a point on the circle where it intersects with the line from center to focalPoint. QRadialGradient:: QRadialGradient( qreal cx, qreal cy, qreal radius, qreal fx, qreal fy)Ĭonstructs a simple radial gradient with the given center ( cx, cy), radius and focal point ( fx, fy). QRadialGradient:: QRadialGradient(const QPointF & center, qreal radius)Ĭonstructs a simple radial gradient with the given center, radius and the focal point in the circle center. The focal point lies at the center of the circle. QRadialGradient:: QRadialGradient( qreal cx, qreal cy, qreal radius)Ĭonstructs a simple radial gradient with the center at ( cx, cy) and the specified radius. QRadialGradient:: QRadialGradient(const QPointF & center, qreal centerRadius, const QPointF & focalPoint, qreal focalRadius)Ĭonstructs an extended radial gradient with the given center, centerRadius, focalPoint, and focalRadius. Member Function Documentation QRadialGradient:: QRadialGradient( qreal cx, qreal cy, qreal centerRadius, qreal fx, qreal fy, qreal focalRadius)Ĭonstructs an extended radial gradient with the given center ( cx, cy), center radius, centerRadius, focal point, ( fx, fy), and focal radius focalRadius.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |