feat(fonts): add filter info functions
This commit is contained in:
parent
84919719f8
commit
ad295bf9c9
1 changed files with 9 additions and 0 deletions
|
@ -64,6 +64,7 @@ function Font:setAlign(align)
|
||||||
end
|
end
|
||||||
|
|
||||||
function Font:setFilter(filter)
|
function Font:setFilter(filter)
|
||||||
|
local filter = filter or ""
|
||||||
self.filter = filter
|
self.filter = filter
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -93,6 +94,14 @@ function Font:getColor()
|
||||||
return self.color
|
return self.color
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function Font:getFilter()
|
||||||
|
return self.filter
|
||||||
|
end
|
||||||
|
|
||||||
|
function Font:haveFilter()
|
||||||
|
return ((self.filter ~= "") and (self.filter ~= nil))
|
||||||
|
end
|
||||||
|
|
||||||
-- DRAW FUNCTIONS
|
-- DRAW FUNCTIONS
|
||||||
-- print text using theses functions
|
-- print text using theses functions
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue