Subgroup: Layout
Class: QgsLayoutItemPolygon¶
-
class
qgis.core.
QgsLayoutItemPolygon
(layout: QgsLayout)¶ Bases:
qgis._core.QgsLayoutNodesItem
Constructor for QgsLayoutItemPolygon for the specified
layout
.QgsLayoutItemPolygon(polygon: QPolygonF, layout: QgsLayout) Constructor for QgsLayoutItemPolygon for the specified
polygon
andlayout
.Layout item for node based polygon shapes.
New in version 3.0: Methods
Signals
Attributes
-
adjustPointForReferencePosition
()¶
-
applyDataDefinedSize
()¶
-
applyItemSizeConstraint
()¶
-
childEvent
()¶
-
computeDistance
()¶
-
connectNotify
()¶
-
contextMenuEvent
()¶
-
create
(layout: QgsLayout) → QgsLayoutItemPolygon¶ Returns a new polygon item for the specified
layout
.The caller takes responsibility for deleting the returned object.
-
customEvent
()¶
-
disconnectNotify
()¶
-
displayName
(self) → str¶
-
dragEnterEvent
()¶
-
dragLeaveEvent
()¶
-
dragMoveEvent
()¶
-
draw
()¶
-
drawBackground
()¶
-
drawDebugRect
()¶
-
drawFrame
()¶
-
dropEvent
()¶
-
focusInEvent
()¶
-
focusOutEvent
()¶
-
hoverEnterEvent
()¶
-
hoverLeaveEvent
()¶
-
hoverMoveEvent
()¶
-
icon
(self) → QIcon¶
-
inputMethodEvent
()¶
-
inputMethodQuery
()¶
-
isSignalConnected
()¶
-
itemChange
()¶
-
keyPressEvent
()¶
-
keyReleaseEvent
()¶
-
mouseDoubleClickEvent
()¶
-
mouseMoveEvent
()¶
-
mousePressEvent
()¶
-
mouseReleaseEvent
()¶
-
positionAtReferencePoint
()¶
-
prepareGeometryChange
()¶
-
readObjectPropertiesFromElement
()¶
-
readPropertiesFromElement
()¶
-
receivers
()¶
-
refreshBackgroundColor
()¶
-
refreshBlendMode
()¶
-
refreshFrame
()¶
-
refreshItemPosition
()¶
-
refreshItemRotation
()¶
-
refreshItemSize
()¶
-
refreshOpacity
()¶
-
rescaleToFitBoundingBox
()¶
-
sceneEvent
()¶
-
sceneEventFilter
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
setFixedSize
()¶
-
setMinimumSize
()¶
-
setSymbol
(self, symbol: QgsFillSymbol)¶ Sets the
symbol
used to draw the shape. Ownership ofsymbol
is not transferred.See also
-
symbol
(self) → QgsFillSymbol¶ Returns the fill symbol used to draw the shape.
See also
-
timerEvent
()¶
-
topLeftToReferencePoint
()¶
-
type
(self) → int¶
-
updateBoundingRect
()¶
-
updateMicroFocus
()¶
-
updateSceneRect
()¶
-
wheelEvent
()¶
-
writeObjectPropertiesToElement
()¶
-
writePropertiesToElement
()¶
-