Update README.md

This commit is contained in:
Vadim Namniak
2014-06-27 09:10:31 -04:00
parent 9b14e6bc20
commit ba409c2f9a
+1 -1
View File
@@ -8,7 +8,7 @@ new CanvasTextWrapper(HTMLCanvasElement, String [, options]);
```options``` - is a JavaScript object with the following available properties and values:
- ```font: String``` - text style that includes font size(REQUIRED), family, similar to CSS font shorthand property
- ```font: String``` - text style that includes font size(REQUIRED), wheight & family, similar to CSS font shorthand property
- ```textAlign: "left" | "center" | "right"``` - horizontal alignment that applies for each line
- ```verticalAlign: "top" | "middle" | "bottom"``` - vertical alignment that applies on a whole block of text
- ```paddingX: Number``` - horizontal padding in pixels set equally on both, left and right sides of the element