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"""

19 from 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

26 QgsMarkerLineSymbolLayer.Interval = QgsTemplatedLineSymbolLayerBase.Interval

27 QgsMarkerLineSymbolLayer.Vertex = QgsTemplatedLineSymbolLayerBase.Vertex

28 QgsMarkerLineSymbolLayer.LastVertex = QgsTemplatedLineSymbolLayerBase.LastVertex

29 QgsMarkerLineSymbolLayer.FirstVertex = QgsTemplatedLineSymbolLayerBase.FirstVertex

30 QgsMarkerLineSymbolLayer.CentralPoint = QgsTemplatedLineSymbolLayerBase.CentralPoint

31 QgsMarkerLineSymbolLayer.CurvePoint = QgsTemplatedLineSymbolLayerBase.CurvePoint