Skip to content

PythonQt.QtGui.QPolygonF · declarations 002

Back to PythonQt.QtGui.QPolygonF

setSharable

setSharable(sharable: bool) -> None

X.setSharable(sharable)

Upstream PySide2 reference signatures (binding differences may apply):

setSharable(self, sharable: bool) -> None

Source: https://doc.qt.io/archives/qt-5.15/qpolygonf.html#setSharable

size

size() -> int

X.size() -> int

Upstream PySide2 reference signatures (binding differences may apply):

size(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qpolygonf.html#size

squeeze

squeeze() -> None

X.squeeze()

Upstream PySide2 reference signatures (binding differences may apply):

squeeze(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qpolygonf.html#squeeze

startsWith

startsWith(t: Any) -> bool

X.startsWith(t) -> bool

Upstream PySide2 reference signatures (binding differences may apply):

startsWith(self, t: PySide2.QtCore.QPointF) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qpolygonf.html#startsWith

subtracted

subtracted(r: Any) -> Any

X.subtracted(r) -> PythonQt.QtGui.QPolygonF

Supplemental documentation: Qt 5 reference:

QPolygonF QPolygonF::subtracted(const QPolygonF \&r) const

Returns a polygon which is r subtracted from this polygon.

Set operations on polygons will treat the polygons as areas. Non-closed polygons will be treated as implicitly closed.

This function was introduced in Qt 4.3.

Upstream PySide2 reference signatures (binding differences may apply):

subtracted(self, r: PySide2.QtGui.QPolygonF) -> PySide2.QtGui.QPolygonF

Source: https://doc.qt.io/archives/qt-5.15/qpolygonf.html#subtracted

swap

swap(other: Any) -> None

X.swap(other)

Supplemental documentation: Qt 5 reference:

void QPolygonF::swap(QPolygonF \&other)

Swaps polygon other with this polygon. This operation is very fast and never fails.

This function was introduced in Qt 4.8.

Upstream PySide2 reference signatures (binding differences may apply):

swap(self, other: PySide2.QtGui.QPolygonF) -> None

Source: https://doc.qt.io/archives/qt-5.15/qpolygonf.html#swap

takeAt

takeAt(i: int) -> Any

X.takeAt(i) -> PythonQt.QtCore.QPointF

Upstream PySide2 reference signatures (binding differences may apply):

takeAt(self, i: int) -> PySide2.QtCore.QPointF

Source: https://doc.qt.io/archives/qt-5.15/qpolygonf.html#takeAt

takeFirst

takeFirst() -> Any

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

Upstream PySide2 reference signatures (binding differences may apply):

takeFirst(self) -> PySide2.QtCore.QPointF

Source: https://doc.qt.io/archives/qt-5.15/qpolygonf.html#takeFirst

takeLast

takeLast() -> Any

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

Upstream PySide2 reference signatures (binding differences may apply):

takeLast(self) -> PySide2.QtCore.QPointF

Source: https://doc.qt.io/archives/qt-5.15/qpolygonf.html#takeLast

toList

toList() -> tuple

X.toList() -> tuple

Upstream PySide2 reference signatures (binding differences may apply):

toList(self) -> typing.List[PySide2.QtCore.QPointF]

Source: https://doc.qt.io/archives/qt-5.15/qpolygonf.html#toList

toPolygon

toPolygon() -> Any

X.toPolygon() -> PythonQt.QtGui.QPolygon

Supplemental documentation: Qt 5 reference:

QPolygon QPolygonF::toPolygon() const

Creates and returns a QPolygon by converting each QPointF to a QPoint.

See also QPointF::toPoint().

Upstream PySide2 reference signatures (binding differences may apply):

toPolygon(self) -> PySide2.QtGui.QPolygon

Source: https://doc.qt.io/archives/qt-5.15/qpolygonf.html#toPolygon

translate

translate(dx: Any, dy: Any) -> None

X.translate(dx, dy)

Supplemental documentation: Qt 5 reference:

void QPolygonF::translate(const QPointF \&offset)

Translate all points in the polygon by the given offset.

See also translated().

void QPolygonF::translate(qreal dx, qreal dy)

This is an overloaded function.

Translates all points in the polygon by (dx, dy).

See also translated().

Upstream PySide2 reference signatures (binding differences may apply):

translate(self, dx: float, dy: float) -> None
translate(self, offset: PySide2.QtCore.QPointF) -> None

Source: https://doc.qt.io/archives/qt-5.15/qpolygonf.html#translate

translated

translated(dx: Any, dy: Any) -> Any

X.translated(dx, dy) -> PythonQt.QtGui.QPolygonF

Supplemental documentation: Qt 5 reference:

QPolygonF QPolygonF::translated(const QPointF \&offset) const

Returns a copy of the polygon that is translated by the given offset.

This function was introduced in Qt 4.6.

See also translate().

QPolygonF QPolygonF::translated(qreal dx, qreal dy) const

This is an overloaded function.

Returns a copy of the polygon that is translated by (dx, dy).

This function was introduced in Qt 4.6.

See also translate().

Upstream PySide2 reference signatures (binding differences may apply):

translated(self, dx: float, dy: float) -> PySide2.QtGui.QPolygonF
translated(self, offset: PySide2.QtCore.QPointF) -> PySide2.QtGui.QPolygonF

Source: https://doc.qt.io/archives/qt-5.15/qpolygonf.html#translated

united

united(r: Any) -> Any

X.united(r) -> PythonQt.QtGui.QPolygonF

Supplemental documentation: Qt 5 reference:

QPolygonF QPolygonF::united(const QPolygonF \&r) const

Returns a polygon which is the union of this polygon and r.

Set operations on polygons will treat the polygons as areas. Non-closed polygons will be treated as implicitly closed.

This function was introduced in Qt 4.3.

See also intersected() and subtracted().

Upstream PySide2 reference signatures (binding differences may apply):

united(self, r: PySide2.QtGui.QPolygonF) -> PySide2.QtGui.QPolygonF

Source: https://doc.qt.io/archives/qt-5.15/qpolygonf.html#united

value

value(i: int, defaultValue: Any) -> Any

X.value(i, defaultValue) -> PythonQt.QtCore.QPointF

Upstream PySide2 reference signatures (binding differences may apply):

value(self, i: int) -> PySide2.QtCore.QPointF
value(self, i: int, defaultValue: PySide2.QtCore.QPointF) -> PySide2.QtCore.QPointF

Source: https://doc.qt.io/archives/qt-5.15/qpolygonf.html#value