Sophie

Sophie

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

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

<class name="QRadialGradient" doc="/**
&lt;p&gt;The &lt;a href=&quot;QRadialGradient.html#QRadialGradient(double, double, double, double, double)&quot;&gt;&lt;tt&gt;QRadialGradient&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 radial gradient brush.&lt;/p&gt;
&lt;p&gt;Radial gradients interpolate colors between a focal point and end points on a circle surrounding it. Outside the end points the gradient is either padded, reflected or repeated depending on the currently set spread&lt;/tt&gt; method:&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/qradialgradient-pad.png&quot; /&gt;&lt;/td&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/qradialgradient-reflect.png&quot; /&gt;&lt;/td&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/qradialgradient-repeat.png&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;PadSpread (default)&lt;/td&gt;&lt;td&gt;ReflectSpread&lt;/td&gt;&lt;td&gt;RepeatSpread&lt;/td&gt;&lt;/tr&gt;
&lt;/table&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;QRadialGradient.html#QRadialGradient(double, double, double, double, double)&quot;&gt;&lt;tt&gt;QRadialGradient&lt;/tt&gt;&lt;/a&gt; class provides the &lt;a href=&quot;QRadialGradient.html#center()&quot;&gt;&lt;tt&gt;center&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QRadialGradient.html#focalPoint()&quot;&gt;&lt;tt&gt;focalPoint&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QRadialGradient.html#radius()&quot;&gt;&lt;tt&gt;radius&lt;/tt&gt;&lt;/a&gt; functions returning the gradient's center, focal point and radius 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;QConicalGradient.html&quot;&gt;&lt;tt&gt;QConicalGradient&lt;/tt&gt;&lt;/a&gt;
@see The Gradients Demo&lt;/tt&gt; */">
    <method name="public QRadialGradient()" doc="/**
&lt;p&gt;Constructs a radial gradient with the center and focal point at (0, 0) with a radius of 1.&lt;/p&gt;
 */"/>
    <method name="public QRadialGradient(com.trolltech.qt.core.QPointF center, double radius)" doc="/**
&lt;p&gt;Constructs a radial gradient with the given &lt;tt&gt;center&lt;/tt&gt;, &lt;tt&gt;radius&lt;/tt&gt; and the focal point in the circle center.&lt;/p&gt;

@see &lt;tt&gt;QGradient::setColorAt&lt;/tt&gt;
@see &lt;tt&gt;QGradient::setStops&lt;/tt&gt; */"/>
    <method name="public QRadialGradient(com.trolltech.qt.core.QPointF center, double radius, com.trolltech.qt.core.QPointF focalPoint)" doc="/**
&lt;p&gt;Constructs a radial gradient with the given &lt;tt&gt;center&lt;/tt&gt;, &lt;tt&gt;radius&lt;/tt&gt; and &lt;tt&gt;focalPoint&lt;/tt&gt;.&lt;/p&gt;

@see &lt;tt&gt;QGradient::setColorAt&lt;/tt&gt;
@see &lt;tt&gt;QGradient::setStops&lt;/tt&gt; */"/>
    <method name="public QRadialGradient(double cx, double cy, double radius)" doc="/**
&lt;p&gt;Constructs a radial gradient with the center at (&lt;tt&gt;cx&lt;/tt&gt;, &lt;tt&gt;cy&lt;/tt&gt;) and the specified &lt;tt&gt;radius&lt;/tt&gt;. The focal point lies at the center of the circle.&lt;/p&gt;

@see &lt;tt&gt;QGradient::setColorAt&lt;/tt&gt;
@see &lt;tt&gt;QGradient::setStops&lt;/tt&gt; */"/>
    <method name="public QRadialGradient(double cx, double cy, double radius, double fx, double fy)" doc="/**
&lt;p&gt;Constructs a radial gradient with the given center (&lt;tt&gt;cx&lt;/tt&gt;, &lt;tt&gt;cy&lt;/tt&gt;), &lt;tt&gt;radius&lt;/tt&gt; and focal point (&lt;tt&gt;fx&lt;/tt&gt;, &lt;tt&gt;fy&lt;/tt&gt;).&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 com.trolltech.qt.core.QPointF center()" doc="/**
&lt;p&gt;Returns the center of this radial gradient in logical coordinates.&lt;/p&gt;

@see &lt;a href=&quot;QRadialGradient.html#setCenter(double, double)&quot;&gt;&lt;tt&gt;setCenter&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QGradient::stops&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF focalPoint()" doc="/**
&lt;p&gt;Returns the focal point of this radial gradient in logical coordinates.&lt;/p&gt;

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

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

@see &lt;a href=&quot;QRadialGradient.html#center()&quot;&gt;&lt;tt&gt;center&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 radial 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;QRadialGradient.html#center()&quot;&gt;&lt;tt&gt;center&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFocalPoint(double x, double y)" doc="/**
&lt;p&gt;Sets the focal point of this radial 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;QRadialGradient.html#focalPoint()&quot;&gt;&lt;tt&gt;focalPoint&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFocalPoint(com.trolltech.qt.core.QPointF focalPoint)" doc="/**
&lt;p&gt;Sets the focal point of this radial gradient in logical coordinates to &lt;tt&gt;focalPoint&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QRadialGradient.html#focalPoint()&quot;&gt;&lt;tt&gt;focalPoint&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setRadius(double radius)" doc="/**
&lt;p&gt;Sets the radius of this radial gradient in logical coordinates to &lt;tt&gt;radius&lt;/tt&gt;&lt;/p&gt;

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