-rw-r--r-- | examples/text.lua | 2 |
diff --git a/examples/text.lua b/examples/text.lua index 19a630ce..06a98336 100644 --- a/examples/text.lua +++ b/examples/text.lua @@ -9,7 +9,7 @@ p:addline(ln, 'red', {{'dash', 7, 3}}) t = text(12) t.text = 'Hello world!' -t.justif = 'cc' +t:justif('cc') t:set(2*pi, 0) local N = 128 |