@@ -384,17 +384,37 @@ export interface DocumentContent {
384
384
* values outside of this range are valid.
385
385
*/
386
386
textScale : number ;
387
- /** [speculative] the center of the zoom for zoomed in documents */
387
+ /**
388
+ * the center of the zoom for customFit zoom
389
+ *
390
+ * This is an absolute offset from the center of the page. Negative numbers
391
+ * indicate shifted left and positive numbers indicate shifted right. The
392
+ * units are relative to the document pixels, but it's not sure how the
393
+ * document size is calculated.
394
+ */
388
395
customZoomCenterX ?: number ;
389
- /** [speculative] the center of the zoom for zoomed in documents */
396
+ /**
397
+ * the center of the zoom for customFit documents
398
+ *
399
+ * This is an absolute number relative to the top of the page. Negative
400
+ * numbers indicate shifted up, while positive numbers indicate shifted down.
401
+ * The units are relative to the document pixels, but it's not sure how the
402
+ * document size is calculated.
403
+ */
390
404
customZoomCenterY ?: number ;
391
- /** [speculative] the orientation */
405
+ /** this seems unused */
392
406
customZoomOrientation ?: Orientation ;
393
- /** [speculative] the zoom height for zoomed in pages */
407
+ /** this seems unused */
394
408
customZoomPageHeight ?: number ;
395
- /** [speculative] the zoom width for zoomed in pages */
409
+ /** this seems unused */
396
410
customZoomPageWidth ?: number ;
397
- /** [speculative] the scale for zoomed in pages */
411
+ /**
412
+ * the scale for customFit documents
413
+ *
414
+ * 1 indicates no zoom, smaller numbers indicate zoomed out, larger numbers
415
+ * indicate zoomed in. reMarkable generally allows setting this from 0.5 to 5,
416
+ * but values outside that bound are still supported.
417
+ */
398
418
customZoomScale ?: number ;
399
419
/** what zoom mode is set for the page */
400
420
zoomMode ?: ZoomMode ;
0 commit comments