canvasMode(mode)
Use this to set the dimensions of the canvas. Choose between PAGE
(default), MARGIN
, BLEED
resp. FACING_PAGES
, FACING_MARGINS
and FACING_BLEEDS
for book setups with facing page. Please note: Setups with more than two facing pages are not yet supported.
Please note that you will loose your current MatrixTransformation. You should set the canvasMode before you attempt to use translate()
, rotate()
and scale()
.
Type: function
Parameter(s):
- mode {String}:
The canvas mode to set.
Returns:
-
{String}:
The current canvas mode.