<class name="QPainterPath_Element" doc="/** <p>The QPainterPath::Element class specifies the position and type of a subpath.</p> <p>Once a <a href="QPainterPath.html"><tt>QPainterPath</tt></a> object is constructed, subpaths like lines and curves can be added to the path (creating QPainterPath::LineToElement and QPainterPath::CurveToElement components).</p> <p>The lines and curves stretch from the currentPosition() to the position passed as argument. The currentPosition() of the <a href="QPainterPath.html"><tt>QPainterPath</tt></a> object is always the end position of the last subpath that was added (or the initial start point). The moveTo() function can be used to move the currentPosition() without adding a line or curve, creating a QPainterPath::MoveToElement component.</p> @see <a href="QPainterPath.html"><tt>QPainterPath</tt></a> */"> <method name="public QPainterPath_Element()"/> <method name="public final boolean isCurveTo()" doc="/** <p>Returns true if the element is a curve, otherwise returns false.</p> @see <a href="QPainterPath_Element.html#type()">type</tt></a> @see <tt>QPainterPath::CurveToElement</tt> */"/> <method name="public final boolean isLineTo()" doc="/** <p>Returns true if the element is a line, otherwise returns false.</p> @see <a href="QPainterPath_Element.html#type()">type</tt></a> @see <tt>QPainterPath::LineToElement</tt> */"/> <method name="public final boolean isMoveTo()" doc="/** <p>Returns true if the element is moving the current position, otherwise returns false.</p> @see <a href="QPainterPath_Element.html#type()">type</tt></a> @see <tt>QPainterPath::MoveToElement</tt> */"/> <method name="public final double x()" doc="/** <p>Returns the x coordinate of the element's position..</p> @see <a href="QPainterPath_Element.html#setX(double)"><tt>setX</tt></a> @see <tt>operator QPointF</tt> */"/> <method name="public final void setX(double x)" doc="/** <p>Sets the x coordinate of the element's position. to <tt>x</tt>.</p> @see <a href="QPainterPath_Element.html#x()"><tt>x</tt></a> @see <tt>operator QPointF</tt> */"/> <method name="public final double y()" doc="/** <p>Returns the y coordinate of the element's position..</p> @see <a href="QPainterPath_Element.html#setY(double)"><tt>setY</tt></a> @see <tt>operator QPointF</tt> */"/> <method name="public final void setY(double y)" doc="/** <p>Sets the y coordinate of the element's position. to <tt>y</tt>.</p> @see <a href="QPainterPath_Element.html#y()"><tt>y</tt></a> @see <tt>operator QPointF</tt> */"/> <method name="public final com.trolltech.qt.gui.QPainterPath.ElementType type()" doc="/** <p>Returns the type of element.</p> @see <a href="QPainterPath_Element.html#setType(com.trolltech.qt.gui.QPainterPath.ElementType)"><tt>setType</tt></a> @see <a href="QPainterPath_Element.html#isCurveTo()"><tt>isCurveTo</tt></a> @see <a href="QPainterPath_Element.html#isLineTo()"><tt>isLineTo</tt></a> @see <a href="QPainterPath_Element.html#isMoveTo()"><tt>isMoveTo</tt></a> */"/> <method name="public final void setType(com.trolltech.qt.gui.QPainterPath.ElementType type)" doc="/** <p>Sets the type of element to <tt>type</tt>.</p> @see <a href="QPainterPath_Element.html#type()"><tt>type</tt></a> @see <a href="QPainterPath_Element.html#isCurveTo()"><tt>isCurveTo</tt></a> @see <a href="QPainterPath_Element.html#isLineTo()"><tt>isLineTo</tt></a> @see <a href="QPainterPath_Element.html#isMoveTo()"><tt>isMoveTo</tt></a> */"/> </class>