Nyall Dawson ac0326a351 [API] Add useful PyQGIS additions to QgsSymbol
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())
2019-07-08 08:41:59 +10:00
..
2019-02-27 09:41:11 +10:00
2019-03-21 12:44:16 +10:00
2019-07-06 12:36:54 +10:00
2019-06-21 15:52:56 +10:00
2019-02-27 09:41:11 +10:00