mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-10 00:13:55 -04:00
Adds: - __len__ : returns number of symbol layers in symbol - [ ] getter: returns a specific symbol layer, also allows negative indices to retrieve from end of symbol - del [ ]: removes a specific symbol layer, also allows negative indices - raise IndexError when an invalid symbol layer is requested - allow iteration over symbol layers using for layer in symbol: print(layer.color())