[GlyphCoordinates] Add back isFloat() and deprecate it
This commit is contained in:
parent
c206341bb0
commit
faaac34acf
@ -1429,6 +1429,12 @@ class GlyphCoordinates(object):
|
|||||||
def array(self):
|
def array(self):
|
||||||
return self._a
|
return self._a
|
||||||
|
|
||||||
|
def isFloat(self):
|
||||||
|
import warnings
|
||||||
|
warnings.warn('GlyphCoordinates.isFloat() is deprecated.',
|
||||||
|
category=DeprecationWarning)
|
||||||
|
return True
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def zeros(count):
|
def zeros(count):
|
||||||
g = GlyphCoordinates()
|
g = GlyphCoordinates()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user