@effing/canvas 0.22.2 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -192,24 +192,27 @@ const png = canvas.encodeSync("png");
192
192
 
193
193
  ### Typography
194
194
 
195
- | Property | Values / Notes |
196
- | ---------------- | ------------------------------------------------------------- |
197
- | `fontFamily` | Font name (inherited) |
198
- | `fontSize` | Number or CSS length (inherited) |
199
- | `fontWeight` | Numeric weight (inherited) |
200
- | `fontStyle` | `normal`, `italic` (inherited) |
201
- | `textAlign` | `left`, `center`, `right`, `justify` (inherited) |
202
- | `textDecoration` | String (inherited) |
203
- | `textTransform` | `none`, `uppercase`, `lowercase`, `capitalize` (inherited) |
204
- | `lineHeight` | Number or string (inherited) |
205
- | `letterSpacing` | Number or CSS length (inherited) |
206
- | `whiteSpace` | `normal`, `nowrap`, `pre`, `pre-wrap`, `pre-line` (inherited) |
207
- | `wordBreak` | `normal`, `break-all`, `break-word`, `keep-all` (inherited) |
208
- | `textOverflow` | `clip`, `ellipsis` (inherited) |
209
- | `lineClamp` | Number — max visible lines (adds ellipsis) |
210
- | `textBox` | Shorthand for `textBoxTrim` and `textBoxEdge` |
211
- | `textBoxTrim` | `none`, `trim-start`, `trim-end`, `trim-both` (inherited) |
212
- | `textBoxEdge` | e.g. `"cap alphabetic"` (inherited) |
195
+ | Property | Values / Notes |
196
+ | ----------------------- | ------------------------------------------------------------- |
197
+ | `fontFamily` | Font name (inherited) |
198
+ | `fontSize` | Number or CSS length (inherited) |
199
+ | `fontWeight` | Numeric weight (inherited) |
200
+ | `fontStyle` | `normal`, `italic` (inherited) |
201
+ | `textAlign` | `left`, `center`, `right`, `justify` (inherited) |
202
+ | `textDecoration` | String (inherited) |
203
+ | `textTransform` | `none`, `uppercase`, `lowercase`, `capitalize` (inherited) |
204
+ | `lineHeight` | Number or string (inherited) |
205
+ | `letterSpacing` | Number or CSS length (inherited) |
206
+ | `whiteSpace` | `normal`, `nowrap`, `pre`, `pre-wrap`, `pre-line` (inherited) |
207
+ | `wordBreak` | `normal`, `break-all`, `break-word`, `keep-all` (inherited) |
208
+ | `textOverflow` | `clip`, `ellipsis` (inherited) |
209
+ | `lineClamp` | Number — max visible lines (adds ellipsis) |
210
+ | `textBox` | Shorthand for `textBoxTrim` and `textBoxEdge` |
211
+ | `textBoxTrim` | `none`, `trim-start`, `trim-end`, `trim-both` (inherited) |
212
+ | `textBoxEdge` | e.g. `"cap alphabetic"` (inherited) |
213
+ | `WebkitTextStroke` | Shorthand, e.g. `"2px red"` (inherited) |
214
+ | `WebkitTextStrokeWidth` | CSS length (inherited) |
215
+ | `WebkitTextStrokeColor` | Any CSS color (inherited) |
213
216
 
214
217
  ### Effects
215
218