diff options
Diffstat (limited to 'gerber/render/render.py')
-rw-r--r-- | gerber/render/render.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gerber/render/render.py b/gerber/render/render.py index cb65a8d..f521c44 100644 --- a/gerber/render/render.py +++ b/gerber/render/render.py @@ -214,8 +214,10 @@ class GerberContext(object): pass -class Renderable(object): - def __init__(self, settings=None): - self.settings = settings - self.primitives = [] +class RenderSettings(object): + def __init__(self, color=(0.0, 0.0, 0.0), alpha=1.0, invert=False, mirror=False): + self.color = color + self.alpha = alpha + self.invert = invert + self.mirror = mirror |