Home · All Classes · Main Classes · Grouped Classes · Modules · Functions

QConicalGradient Class Reference
[QtGui module]

The QConicalGradient class is used in combination with QBrush to specify a conical gradient brush. More...

#include <QConicalGradient>

Inherits QGradient.

Public Functions


Detailed Description

The QConicalGradient class is used in combination with QBrush to specify a conical gradient brush.

See also QBrush.


Member Function Documentation

QConicalGradient::QConicalGradient ( const QPointF & center, qreal angle )

Constructs a conical centered at center and starting at angle. The angle is specified in degrees between 0 and 360.

QConicalGradient::QConicalGradient ( qreal cx, qreal cy, qreal angle )

Constructs a conical centered at cx, cy and starting at angle. The angle is specified in degrees between 0 and 360.

qreal QConicalGradient::angle () const

Returns the start angle of the conical gradient in logical coordinates

QPointF QConicalGradient::center () const

Returns the center of the conical gradient in logical coordinates


Copyright © 2005 Trolltech Trademarks
Qt 4.1.0