<class name="QLinearGradient" doc="/**
&lt;p&gt;The &lt;a href=&quot;QLinearGradient.html#QLinearGradient(com.trolltech.qt.core.QPointF, com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;QLinearGradient&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 linear gradient brush.&lt;/p&gt;
&lt;p&gt;Linear gradients interpolate colors between start and end points. Outside these 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/qlineargradient-pad.png&quot; /&gt;&lt;/td&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/qlineargradient-reflect.png&quot; /&gt;&lt;/td&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/qlineargradient-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;QLinearGradient.html#QLinearGradient(com.trolltech.qt.core.QPointF, com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;QLinearGradient&lt;/tt&gt;&lt;/a&gt; class provides the &lt;a href=&quot;QLinearGradient.html#finalStop()&quot;&gt;&lt;tt&gt;finalStop&lt;/tt&gt;&lt;/a&gt; function which returns the final stop point of the gradient, and the &lt;a href=&quot;QLinearGradient.html#start()&quot;&gt;&lt;tt&gt;start&lt;/tt&gt;&lt;/a&gt; function returning the start point of the gradient.&lt;/p&gt;

@see &lt;a href=&quot;QRadialGradient.html&quot;&gt;&lt;tt&gt;QRadialGradient&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 QLinearGradient(double xStart, double yStart, double xFinalStop, double yFinalStop)" doc="/**
&lt;p&gt;Constructs a linear gradient with interpolation area between (&lt;tt&gt;xStart&lt;/tt&gt;, &lt;tt&gt;yStart&lt;/tt&gt;) and (&lt;tt&gt;xFinalStop&lt;/tt&gt;, &lt;tt&gt;yFinalStop&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 QLinearGradient()" doc="/**
&lt;p&gt;Constructs a default linear gradient with interpolation area between (0, 0) and (1, 1).&lt;/p&gt;

@see &lt;tt&gt;QGradient::setColorAt&lt;/tt&gt;
@see &lt;a href=&quot;QLinearGradient.html#setStart(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setStart&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLinearGradient.html#setFinalStop(double, double)&quot;&gt;&lt;tt&gt;setFinalStop&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QLinearGradient(com.trolltech.qt.core.QPointF start, com.trolltech.qt.core.QPointF finalStop)" doc="/**
&lt;p&gt;Constructs a linear gradient with interpolation area between the given &lt;tt&gt;start&lt;/tt&gt; point and &lt;tt&gt;finalStop&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 finalStop()" doc="/**
&lt;p&gt;Returns the final stop point of this linear gradient in logical coordinates.&lt;/p&gt;

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

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

@see &lt;a href=&quot;QLinearGradient.html#start()&quot;&gt;&lt;tt&gt;start&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF start()" doc="/**
&lt;p&gt;Returns the start point of this linear gradient in logical coordinates.&lt;/p&gt;

@see &lt;a href=&quot;QLinearGradient.html#setStart(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setStart&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QGradient::stops&lt;/tt&gt; */"/>
</class>
