Class: QgsProcessingParameterPoint¶
A point parameter for processing algorithms.
Class Hierarchy¶
Base classes¶
Base class for the definition of processing parameters. |
Static Methods
Creates a new parameter using the definition from a script code. |
|
Returns the type name for the parameter class. |
- class qgis.core.QgsProcessingParameterPoint[source]¶
Bases:
QgsProcessingParameterDefinition
- __init__(name: str | None, description: str | None = '', defaultValue: Any = None, optional: bool = False)
Constructor for QgsProcessingParameterPoint.
- Parameters:
name (Optional[str])
description (Optional[str] = '')
defaultValue (Any = None)
optional (bool = False)
- __init__(a0: QgsProcessingParameterPoint)
- Parameters:
- static fromScriptCode(name: str | None, description: str | None, isOptional: bool, definition: str | None) QgsProcessingParameterPoint | None [source]¶
Creates a new parameter using the definition from a script code.
- Parameters:
name (Optional[str])
description (Optional[str])
isOptional (bool)
definition (Optional[str])
- Return type:
Optional[QgsProcessingParameterPoint]