Skip to content

Commit

Permalink
Merge pull request #1 from luojinghui/pull-text-align
Browse files Browse the repository at this point in the history
add canvas text alignment
  • Loading branch information
sayll authored Jun 11, 2018
2 parents 9dca447 + 1cfe6f4 commit abb5711
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ canvas绘制海报,生成logo二维码。也可生成编辑界面,用户自
|size|string|字体大小|
|color|string|字体颜色|
|bold|boolean|是否加粗|
|align|string|文本对齐方式,"left"、"right"、"center",三种方式。使用居中方式,需将X设置为画板的一半|
|editable|boolean|能否编辑,编辑模式下使用|
|x|number|相对于左上角的水平坐标|
|y|number|相对于左上角的垂直坐标|
Expand Down
Loading

0 comments on commit abb5711

Please sign in to comment.