Class: QgsProcessingParameterPoint¶
- class qgis.core.QgsProcessingParameterPoint(name: str, description: str = '', defaultValue: Any = None, optional: bool = False)¶
Bases:
QgsProcessingParameterDefinition
Constructor for QgsProcessingParameterPoint.
QgsProcessingParameterPoint(
QgsProcessingParameterPoint
)A point parameter for processing algorithms.
Methods
- param input
- rtype
QgsProcessingParameterDefinition
Creates a new parameter using the definition from a script code.
- rtype
str
Returns the type name for the parameter class.
- param value
- checkValueIsAcceptable(self, input: Any, context: QgsProcessingContext = None) → bool¶
- Parameters
input (Any) –
context (
QgsProcessingContext
= None) –
- Return type
bool
- clone(self) → QgsProcessingParameterDefinition¶
- Return type
- fromScriptCode(name: str, description: str, isOptional: bool, definition: str) → QgsProcessingParameterPoint¶
Creates a new parameter using the definition from a script code.
- Parameters
name (str) –
description (str) –
isOptional (bool) –
definition (str) –
- Return type
- type(self) → str¶
- Return type
str
- typeName() → str¶
Returns the type name for the parameter class.
- Return type
str
- valueAsPythonString(self, value: Any, context: QgsProcessingContext) → str¶
- Parameters
value (Any) –
context (QgsProcessingContext) –
- Return type
str