Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 1951

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QConicalGradient" doc="/**
&lt;p&gt;The &lt;a href=&quot;QConicalGradient.html#QConicalGradient(com.trolltech.qt.core.QPointF, double)&quot;&gt;&lt;tt&gt;QConicalGradient&lt;/tt&gt;&lt;/a&gt; class is used in combination with &lt;a href=&quot;QBrush.html&quot;&gt;&lt;tt&gt;QBrush&lt;/tt&gt;&lt;/a&gt; to specify a conical gradient brush.&lt;/p&gt;
&lt;p&gt;Conical gradients interpolate interpolate colors counter-clockwise around a center point.&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/qconicalgradient.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;The colors in a gradient is defined using stop points of the QGradientStop type, i.e&amp;#x2e; a position and a color. Use the QGradient::setColorAt() or the QGradient::setStops() function to define the stop points. It is the gradient's complete set of stop points that describes how the gradient area should be filled. If no stop points have been specified, a gradient of black at 0 to white at 1 is used.&lt;/p&gt;
&lt;p&gt;In addition to the functions inherited from &lt;a href=&quot;QGradient.html#QGradient()&quot;&gt;&lt;tt&gt;QGradient&lt;/tt&gt;&lt;/a&gt;, the &lt;a href=&quot;QConicalGradient.html#QConicalGradient(com.trolltech.qt.core.QPointF, double)&quot;&gt;&lt;tt&gt;QConicalGradient&lt;/tt&gt;&lt;/a&gt; class provides the &lt;a href=&quot;QConicalGradient.html#angle()&quot;&gt;&lt;tt&gt;angle&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QConicalGradient.html#center()&quot;&gt;&lt;tt&gt;center&lt;/tt&gt;&lt;/a&gt; functions returning the start angle and center of the gradient.&lt;/p&gt;
&lt;p&gt;Note that the &lt;a href=&quot;QGradient.html#setSpread(com.trolltech.qt.gui.QGradient.Spread)&quot;&gt;&lt;tt&gt;setSpread&lt;/tt&gt;&lt;/a&gt; function has no effect for conical gradients. The reason is that the conical gradient is closed by definition, i.e&amp;#x2e; the conical gradient fills the entire circle from 0 - 360 degrees, while the boundary of a radial or a linear gradient can be specified through its radius or final stop points, respectively.&lt;/p&gt;

@see &lt;a href=&quot;QLinearGradient.html&quot;&gt;&lt;tt&gt;QLinearGradient&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRadialGradient.html&quot;&gt;&lt;tt&gt;QRadialGradient&lt;/tt&gt;&lt;/a&gt;
@see The Gradients Demo&lt;/tt&gt; */">
    <method name="public QConicalGradient(double cx, double cy, double startAngle)" doc="/**
&lt;p&gt;Constructs a conical gradient with the given center (&lt;tt&gt;cx&lt;/tt&gt;, &lt;tt&gt;cy&lt;/tt&gt;), starting the interpolation at the given &lt;tt&gt;startAngle&lt;/tt&gt;. The angle must be specified in degrees between 0 and 360.&lt;/p&gt;

@see &lt;tt&gt;QGradient::setColorAt&lt;/tt&gt;
@see &lt;tt&gt;QGradient::setStops&lt;/tt&gt; */"/>
    <method name="public QConicalGradient()" doc="/**
&lt;p&gt;Constructs a conical with center at (0, 0) starting the interpolation at angle 0.&lt;/p&gt;

@see &lt;tt&gt;QGradient::setColorAt&lt;/tt&gt;
@see &lt;a href=&quot;QConicalGradient.html#setCenter(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setCenter&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QConicalGradient.html#setAngle(double)&quot;&gt;&lt;tt&gt;setAngle&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QConicalGradient(com.trolltech.qt.core.QPointF center, double startAngle)" doc="/**
&lt;p&gt;Constructs a conical gradient with the given &lt;tt&gt;center&lt;/tt&gt;, starting the interpolation at the given &lt;tt&gt;startAngle&lt;/tt&gt;. The &lt;tt&gt;startAngle&lt;/tt&gt; must be specified in degrees between 0 and 360.&lt;/p&gt;

@see &lt;tt&gt;QGradient::setColorAt&lt;/tt&gt;
@see &lt;tt&gt;QGradient::setStops&lt;/tt&gt; */"/>
    <method name="public final double angle()" doc="/**
&lt;p&gt;Returns the start angle of the conical gradient in logical coordinates.&lt;/p&gt;

@see &lt;a href=&quot;QConicalGradient.html#setAngle(double)&quot;&gt;&lt;tt&gt;setAngle&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGradient.html#stops()&quot;&gt;&lt;tt&gt;stops&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF center()" doc="/**
&lt;p&gt;Returns the center of the conical gradient in logical coordinates.&lt;/p&gt;

@see &lt;a href=&quot;QConicalGradient.html#setCenter(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setCenter&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGradient.html#stops()&quot;&gt;&lt;tt&gt;stops&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAngle(double angle)" doc="/**
&lt;p&gt;Sets &lt;tt&gt;angle&lt;/tt&gt; to be the start angle for this conical gradient in logical coordinates.&lt;/p&gt;

@see &lt;a href=&quot;QConicalGradient.html#angle()&quot;&gt;&lt;tt&gt;angle&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCenter(double x, double y)" doc="/**
&lt;p&gt;Sets the center of this conical gradient in logical coordinates to (&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;).&lt;/p&gt;

@see &lt;a href=&quot;QConicalGradient.html#center()&quot;&gt;&lt;tt&gt;center&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCenter(com.trolltech.qt.core.QPointF center)" doc="/**
&lt;p&gt;Sets the center of this conical gradient in logical coordinates to &lt;tt&gt;center&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QConicalGradient.html#center()&quot;&gt;&lt;tt&gt;center&lt;/tt&gt;&lt;/a&gt; */"/>
</class>