Subgroup: Ellipse
Class: QgsEllipseSymbolLayer¶
-
class
qgis.core.
QgsEllipseSymbolLayer
¶ Bases:
qgis._core.QgsMarkerSymbolLayer
A symbol layer for rendering objects with major and minor axis (e.g. ellipse, rectangle )*
Methods
Signals
Attributes
-
bounds
(self, point: Union[QPointF, QPoint], context: QgsSymbolRenderContext) → QRectF¶
-
clone
(self) → QgsEllipseSymbolLayer¶
-
copyDataDefinedProperties
()¶
-
copyPaintEffect
()¶
-
create
(properties: Dict[str, str] = {}) → QgsSymbolLayer¶
-
createFromSld
(element: QDomElement) → QgsSymbolLayer¶
-
fillColor
(self) → QColor¶
-
layerType
(self) → str¶
-
mapUnitScale
(self) → QgsMapUnitScale¶
-
markerOffset
()¶
-
markerOffset2
()¶
-
markerOffsetWithWidthAndHeight
()¶
-
outputUnit
(self) → QgsUnitTypes.RenderUnit¶
-
penJoinStyle
(self) → Qt.PenJoinStyle¶ Get stroke join style.
New in version 2.16.
-
properties
(self) → Dict[str, str]¶
-
renderPoint
(self, point: Union[QPointF, QPoint], context: QgsSymbolRenderContext)¶
-
restoreOldDataDefinedProperties
()¶
-
setFillColor
(self, c: Union[QColor, Qt.GlobalColor])¶
-
setMapUnitScale
(self, scale: QgsMapUnitScale)¶
-
setOutputUnit
(self, unit: QgsUnitTypes.RenderUnit)¶
-
setPenJoinStyle
(self, style: Qt.PenJoinStyle)¶ Set stroke join style.
New in version 2.16.
-
setStrokeColor
(self, c: Union[QColor, Qt.GlobalColor])¶
-
setStrokeStyle
(self, strokeStyle: Qt.PenStyle)¶
-
setStrokeWidth
(self, w: float)¶
-
setStrokeWidthMapUnitScale
(self, scale: QgsMapUnitScale)¶
-
setStrokeWidthUnit
(self, unit: QgsUnitTypes.RenderUnit)¶ Sets the units for the symbol’s stroke width.
Parameters: unit – symbol units See also
-
setSymbolHeight
(self, h: float)¶
-
setSymbolHeightMapUnitScale
(self, scale: QgsMapUnitScale)¶
-
setSymbolHeightUnit
(self, unit: QgsUnitTypes.RenderUnit)¶ Sets the units for the symbol’s height.
Parameters: unit – symbol units See also
See also
-
setSymbolName
(self, name: str)¶
-
setSymbolWidth
(self, w: float)¶
-
setSymbolWidthMapUnitScale
(self, scale: QgsMapUnitScale)¶
-
setSymbolWidthUnit
(self, unit: QgsUnitTypes.RenderUnit)¶ Sets the units for the symbol’s width.
Parameters: unit – symbol units See also
See also
-
startRender
(self, context: QgsSymbolRenderContext)¶
-
stopRender
(self, context: QgsSymbolRenderContext)¶
-
strokeColor
(self) → QColor¶
-
strokeStyle
(self) → Qt.PenStyle¶
-
strokeWidth
(self) → float¶
-
strokeWidthMapUnitScale
(self) → QgsMapUnitScale¶
-
strokeWidthUnit
(self) → QgsUnitTypes.RenderUnit¶ Returns the units for the symbol’s stroke width.
See also
-
symbolHeight
(self) → float¶
-
symbolHeightMapUnitScale
(self) → QgsMapUnitScale¶
-
symbolHeightUnit
(self) → QgsUnitTypes.RenderUnit¶ Returns the units for the symbol’s height.
See also
See also
-
symbolName
(self) → str¶
-
symbolWidth
(self) → float¶
-
symbolWidthMapUnitScale
(self) → QgsMapUnitScale¶
-
symbolWidthUnit
(self) → QgsUnitTypes.RenderUnit¶ Returns the units for the symbol’s width.
See also
See also
-
toSld
(self, doc: QDomDocument, element: QDomElement, props: Dict[str, str])¶
-
writeDxf
(self, e: QgsDxfExport, mmMapUnitScaleFactor: float, layerName: str, context: QgsSymbolRenderContext, shift: Union[QPointF, QPoint] = QPointF(0, 0)) → bool¶
-
writeSldMarker
(self, doc: QDomDocument, element: QDomElement, props: Dict[str, str])¶
-