import random
import coloreffect
import inkex
class C(coloreffect.ColorEffect):
help="Hue range")
help="Saturation range")
help="Lightness range")
help="Opacity range")
dest="tab",
help="The selected UI-tab when OK was pressed")
limit /= 2
if max > 255:
max = 255
if min < 0:
min = 0
# maybe not necessary, but better not change things that shouldn't change
try:
except ValueError:
return opacity
limit /= 2
if max > 100:
max = 100
if min < 0:
min = 0
return ret
return opacity
if __name__ == '__main__':
c = C()
c.affect()
# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 fileencoding=utf-8 textwidth=99