elements: fix small refactoring bugs
This commit is contained in:
parent
c12d2f2219
commit
096715320b
@ -34,7 +34,7 @@ class Path(Element, Drawable):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.extendEnd = [0,0] # extend past start and end
|
self.extendEnd = [0,0] # extend past start and end
|
||||||
self.width = 0
|
self.width = 0
|
||||||
self.pathStyle = Styles.SQUARE_ENDS
|
self.pathStyle = Path.Styles.SQUARE_ENDS
|
||||||
|
|
||||||
self.points = []
|
self.points = []
|
||||||
|
|
||||||
@ -56,8 +56,8 @@ class Text(Element, Drawable):
|
|||||||
|
|
||||||
# presentation
|
# presentation
|
||||||
self.fontnumber = 0
|
self.fontnumber = 0
|
||||||
self.verticalJustification = VJust.Top
|
self.verticalJustification = Text.VJust.Top
|
||||||
self.horizontalJustification = HJust.Left
|
self.horizontalJustification = Text.HJust.Left
|
||||||
|
|
||||||
# optional path info
|
# optional path info
|
||||||
self.pathStype = Path.Styles.SQUARE_ENDS
|
self.pathStype = Path.Styles.SQUARE_ENDS
|
||||||
|
Loading…
Reference in New Issue
Block a user