Advertisement
xunilk

QgsColorRampShader Class (PyQGIS)

Aug 11th, 2014
500
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.79 KB | None | 0 0
  1. Python 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)] on zeito
  2. ## Type help(iface) for more info and list of methods.
  3. help(QgsColorRampShader)
  4. Help on class QgsColorRampShader in module qgis.core:
  5.  
  6. class QgsColorRampShader(QgsRasterShaderFunction)
  7. | QgsColorRampShader(float theMinimumValue=0, float theMaximumValue=255)
  8. | QgsColorRampShader(QgsColorRampShader)
  9. |
  10. | Method resolution order:
  11. | QgsColorRampShader
  12. | QgsRasterShaderFunction
  13. | sip.wrapper
  14. | sip.simplewrapper
  15. | __builtin__.object
  16. |
  17. | Methods defined here:
  18. |
  19. | clip(...)
  20. | QgsColorRampShader.clip() -> bool
  21. |
  22. | colorRampItemList(...)
  23. | QgsColorRampShader.colorRampItemList() -> list-of-QgsColorRampShader.ColorRampItem
  24. |
  25. | colorRampType(...)
  26. | QgsColorRampShader.colorRampType() -> QgsColorRampShader.ColorRamp_TYPE
  27. |
  28. | colorRampTypeAsQString(...)
  29. | QgsColorRampShader.colorRampTypeAsQString() -> QString
  30. |
  31. | legendSymbologyItems(...)
  32. | QgsColorRampShader.legendSymbologyItems(list-of-tuple-of-QString-QColor)
  33. |
  34. | maximumColorCacheSize(...)
  35. | QgsColorRampShader.maximumColorCacheSize() -> int
  36. |
  37. | setClip(...)
  38. | QgsColorRampShader.setClip(bool)
  39. |
  40. | setColorRampItemList(...)
  41. | QgsColorRampShader.setColorRampItemList(list-of-QgsColorRampShader.ColorRampItem)
  42. |
  43. | setColorRampType(...)
  44. | QgsColorRampShader.setColorRampType(QgsColorRampShader.ColorRamp_TYPE)
  45. | QgsColorRampShader.setColorRampType(QString)
  46. |
  47. | setMaximumColorCacheSize(...)
  48. | QgsColorRampShader.setMaximumColorCacheSize(int)
  49. |
  50. | shade(...)
  51. | QgsColorRampShader.shade(float) -> (bool, int, int, int, int)
  52. | QgsColorRampShader.shade(float, float, float, float) -> (bool, int, int, int, int)
  53. |
  54. | ----------------------------------------------------------------------
  55. | Data and other attributes defined here:
  56. |
  57. | ColorRampItem = <class 'qgis.core.ColorRampItem'>
  58. | QgsColorRampShader.ColorRampItem()
  59. | QgsColorRampShader.ColorRampItem(float, QColor, QString lbl=QString())
  60. | QgsColorRampShader.ColorRampItem(QgsColorRampShader.ColorRampItem)
  61. |
  62. | ColorRamp_TYPE = <class 'qgis.core.ColorRamp_TYPE'>
  63. |
  64. |
  65. | DISCRETE = 1
  66. |
  67. | EXACT = 2
  68. |
  69. | INTERPOLATED = 0
  70. |
  71. | ----------------------------------------------------------------------
  72. | Methods inherited from QgsRasterShaderFunction:
  73. |
  74. | maximumValue(...)
  75. | QgsRasterShaderFunction.maximumValue() -> float
  76. |
  77. | minimumMaximumRange(...)
  78. | QgsRasterShaderFunction.minimumMaximumRange() -> float
  79. |
  80. | minimumValue(...)
  81. | QgsRasterShaderFunction.minimumValue() -> float
  82. |
  83. | setMaximumValue(...)
  84. | QgsRasterShaderFunction.setMaximumValue(float)
  85. |
  86. | setMinimumValue(...)
  87. | QgsRasterShaderFunction.setMinimumValue(float)
  88. |
  89. | ----------------------------------------------------------------------
  90. | Data descriptors inherited from QgsRasterShaderFunction:
  91. |
  92. | __weakref__
  93. | list of weak references to the object (if defined)
  94. |
  95. | ----------------------------------------------------------------------
  96. | Methods inherited from sip.simplewrapper:
  97. |
  98. | __init__(...)
  99. | x.__init__(...) initializes x; see help(type(x)) for signature
  100. |
  101. | ----------------------------------------------------------------------
  102. | Data descriptors inherited from sip.simplewrapper:
  103. |
  104. | __dict__
  105. |
  106. | ----------------------------------------------------------------------
  107. | Data and other attributes inherited from sip.simplewrapper:
  108. |
  109. | __new__ = <built-in method __new__ of sip.wrappertype object>
  110. | T.__new__(S, ...) -> a new object with type S, a subtype of T
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement