add a docstring

This commit is contained in:
Martin Patz 2020-03-23 01:03:45 +01:00
parent 52d1f5e7d4
commit 7e01b0d84c

View File

@ -45,6 +45,7 @@ class Color:
@property
def alpha_dec(self):
"""Export the alpha value as a decimal number in [0, 1]."""
return int(self.alpha_num) / 100
@property