You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/mudbrick.ex
+32-17
Original file line number
Diff line number
Diff line change
@@ -215,7 +215,9 @@ defmodule Mudbrick do
215
215
- `:position` - Coordinates from bottom-left of page in points. Default: `{0, 0}`.
216
216
- `:font_size` - Size in points. Default: `12`.
217
217
- `:leading` - Leading in points. Default is 120% of `:font_size`.
218
-
- `:align` - Either `:left` or `:right`. Default: `:left`. Note that the rightmost point of right-aligned text is the horizontal offset provided to `:position`.
218
+
- `:align` - `:left`, `:right` or `:centre`. Default: `:left`.
219
+
Note that the rightmost point of right-aligned text is the horizontal offset provided to `:position`.
220
+
The same position defines the centre point of centre-aligned text.
0 commit comments