mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-10-25 00:05:24 -04:00 
			
		
		
		
	This will allow us to logically create subgroups for PyQGIS modules in the API reference guide
		
			
				
	
	
		
			20 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
| # The following has been generated automatically from src/core/raster/qgsrastertransparency.h
 | |
| try:
 | |
|     QgsRasterTransparency.__attribute_docs__ = {'red': 'Red pixel value.', 'green': 'Green pixel value.', 'blue': 'Blue pixel value.', 'opacity': 'Opacity for pixel, between 0 and 1.0.\n\n.. versionadded:: 3.38', 'fuzzyToleranceRed': "Fuzzy tolerance for red values.\n\nIf non zero, the pixel's red component can deviate from values specified in this object by a maximum of this tolerance amount.\n\n.. versionadded:: 3.40", 'fuzzyToleranceGreen': "Fuzzy tolerance for green values.\n\nIf non zero, the pixel's green component can deviate from values specified in this object by a maximum of this tolerance amount.\n\n.. versionadded:: 3.40", 'fuzzyToleranceBlue': "Fuzzy tolerance for blue values.\n\nIf non zero, the pixel's blue component can deviate from values specified in this object by a maximum of this tolerance amount.\n\n.. versionadded:: 3.40", 'min': 'Minimum pixel value to include in range.', 'max': 'Maximum pixel value to include in range.', 'includeMinimum': '``True`` if pixels matching the min value should be considered transparent,\nor ``False`` if only pixels greater than the min value should be transparent.\n\n.. versionadded:: 3.38', 'includeMaximum': '``True`` if pixels matching the max value should be considered transparent,\nor ``False`` if only pixels less than the max value should be transparent.\n\n.. versionadded:: 3.38'}
 | |
| except NameError:
 | |
|     pass
 | |
| QgsRasterTransparency.TransparentThreeValuePixel.__doc__ = """Defines the transparency for a RGB pixel value."""
 | |
| QgsRasterTransparency.TransparentSingleValuePixel.__doc__ = """Defines the transparency for a range of single-band pixel values."""
 | |
| try:
 | |
|     QgsRasterTransparency.__group__ = ['raster']
 | |
| except NameError:
 | |
|     pass
 | |
| try:
 | |
|     QgsRasterTransparency.TransparentThreeValuePixel.__group__ = ['raster']
 | |
| except NameError:
 | |
|     pass
 | |
| try:
 | |
|     QgsRasterTransparency.TransparentSingleValuePixel.__group__ = ['raster']
 | |
| except NameError:
 | |
|     pass
 |