diff --git a/gds/elements.py b/gds/elements.py index fa9f0b4..1de7634 100644 --- a/gds/elements.py +++ b/gds/elements.py @@ -34,7 +34,7 @@ class Path(Element, Drawable): def __init__(self): self.extendEnd = [0,0] # extend past start and end self.width = 0 - self.pathStyle = Styles.SQUARE_ENDS + self.pathStyle = Path.Styles.SQUARE_ENDS self.points = [] @@ -56,8 +56,8 @@ class Text(Element, Drawable): # presentation self.fontnumber = 0 - self.verticalJustification = VJust.Top - self.horizontalJustification = HJust.Left + self.verticalJustification = Text.VJust.Top + self.horizontalJustification = Text.HJust.Left # optional path info self.pathStype = Path.Styles.SQUARE_ENDS