Skip to content

PythonQt.QtGui.QLinearGradient · declarations 001

Back to PythonQt.QtGui.QLinearGradient

finalStop

finalStop() -> Any

X.finalStop() -> PythonQt.QtCore.QPointF

Supplemental documentation: Qt 5 reference:

QPointF QLinearGradient::finalStop() const

Returns the final stop point of this linear gradient in logical coordinates.

See also setFinalStop() and QGradient::stops().

Upstream PySide2 reference signatures (binding differences may apply):

finalStop(self) -> PySide2.QtCore.QPointF

Source: https://doc.qt.io/archives/qt-5.15/qlineargradient.html#finalStop

setFinalStop

setFinalStop(x: Any, y: Any) -> None

X.setFinalStop(x, y)

Supplemental documentation: Qt 5 reference:

void QLinearGradient::setFinalStop(const QPointF \&stop)

Sets the final stop point of this linear gradient in logical coordinates to stop.

This function was introduced in Qt 4.2.

See also finalStop().

void QLinearGradient::setFinalStop(qreal x, qreal y)

This is an overloaded function.

Sets the final stop point of this linear gradient in logical coordinates to x, y.

This function was introduced in Qt 4.2.

See also start().

Upstream PySide2 reference signatures (binding differences may apply):

setFinalStop(self, stop: PySide2.QtCore.QPointF) -> None
setFinalStop(self, x: float, y: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qlineargradient.html#setFinalStop

setStart

setStart(x: Any, y: Any) -> None

X.setStart(x, y)

Supplemental documentation: Qt 5 reference:

void QLinearGradient::setStart(const QPointF \&start)

Sets the start point of this linear gradient in logical coordinates to start.

This function was introduced in Qt 4.2.

See also start().

void QLinearGradient::setStart(qreal x, qreal y)

This is an overloaded function.

Sets the start point of this linear gradient in logical coordinates to x, y.

This function was introduced in Qt 4.2.

See also start().

Upstream PySide2 reference signatures (binding differences may apply):

setStart(self, start: PySide2.QtCore.QPointF) -> None
setStart(self, x: float, y: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qlineargradient.html#setStart

start

start() -> Any

X.start() -> PythonQt.QtCore.QPointF

Supplemental documentation: Qt 5 reference:

QPointF QLinearGradient::start() const

Returns the start point of this linear gradient in logical coordinates.

See also setStart() and QGradient::stops().

Upstream PySide2 reference signatures (binding differences may apply):

start(self) -> PySide2.QtCore.QPointF

Source: https://doc.qt.io/archives/qt-5.15/qlineargradient.html#start