improve docs

This commit is contained in:
2020-10-05 20:51:21 +08:00
parent ff12497673
commit 744874d591
8 changed files with 304 additions and 17 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export function renderFrame(context: CanvasRenderingContext2D, frame: TextFrame,
### canvasHeight
* Type: `number`
* Default: 根据`viewHeight`计算。
* Default: compute with `viewHeight`
* Description: canvas.height is `viewHeight * window.devicePixelRatio`
### margin