Coverage for C:\Program Files\QGIS 3.10\apps\qgis-ltr\python\qgis\core\additions\markerlinesymbollayer.py: 100%

8 statements  

« prev     ^ index     » next       coverage.py v7.2.3, created at 2023-04-10 14:40 +0900

1# -*- coding: utf-8 -*- 

2 

3""" 

4*************************************************************************** 

5 markerlinesymbollayer.py 

6 --------------------- 

7 Date : March 2019 

8 Copyright : (C) 2019 by Nyall Dawson 

9 Email : nyall dot dawson at gmail dot com 

10*************************************************************************** 

11* * 

12* This program is free software; you can redistribute it and/or modify * 

13* it under the terms of the GNU General Public License as published by * 

14* the Free Software Foundation; either version 2 of the License, or * 

15* (at your option) any later version. * 

16* * 

17*************************************************************************** 

18""" 

19from qgis._core import ( 

20 QgsMarkerLineSymbolLayer, 

21 QgsTemplatedLineSymbolLayerBase) 

22 

23 

24# monkey patch deprecated enum values to maintain API 

25# TODO - remove for QGIS 4.0 

26QgsMarkerLineSymbolLayer.Interval = QgsTemplatedLineSymbolLayerBase.Interval 

27QgsMarkerLineSymbolLayer.Vertex = QgsTemplatedLineSymbolLayerBase.Vertex 

28QgsMarkerLineSymbolLayer.LastVertex = QgsTemplatedLineSymbolLayerBase.LastVertex 

29QgsMarkerLineSymbolLayer.FirstVertex = QgsTemplatedLineSymbolLayerBase.FirstVertex 

30QgsMarkerLineSymbolLayer.CentralPoint = QgsTemplatedLineSymbolLayerBase.CentralPoint 

31QgsMarkerLineSymbolLayer.CurvePoint = QgsTemplatedLineSymbolLayerBase.CurvePoint