diff --git a/packages/joint-core/docs/src/joint/api/dia/Paper/prototype/getFitToContentArea.html b/packages/joint-core/docs/src/joint/api/dia/Paper/prototype/getFitToContentArea.html index 77894bcb5..d4cb627d8 100644 --- a/packages/joint-core/docs/src/joint/api/dia/Paper/prototype/getFitToContentArea.html +++ b/packages/joint-core/docs/src/joint/api/dia/Paper/prototype/getFitToContentArea.html @@ -6,9 +6,9 @@
opt.gridWidth
and opt.gridHeight
– snap the resulting width and height of the paper to a grid defined by these dimensions.opt.padding
– additional padding around the resulting paper. It may be specified as a number, in which case it represents the padding width on all sides of the paper. It may be an object of the form { top?: [number], right?: [number], bottom?: [number], left?: [number], vertical?: [number], horizontal?: [number] }
.opt.allowNewOrigin
– should the origin of the resulting paper be adjusted to match the origin of the paper content? In addition to no value being set, three values are recognized by this option: 'positive'
, 'negative'
, 'any'
.
+ opt.allowNewOrigin
– should the origin of the resulting paper be adjusted to match the origin of the paper content? In addition to a falsy value being set, three values are recognized by this option: 'positive'
, 'negative'
, 'any'
.
false
- by default, the method only recognizes the content at positive coordinates and puts the origin of resulting paper at the original point (0,0).'positive'
– the method only recognizes the content at positive coordinates and puts the origin of resulting paper at the origin of the content. (Still, if the content starts at negative coordinates in an axis, the resulting paper's origin will be assigned 0
in that axis.)'negative'
– the method only recognizes the content at negative coordinates and puts the origin of resulting paper at the origin of the content. (However, if the content starts at positive coordinates in an axis, the resulting paper's origin will be assigned 0
in that axis.)'any'
– the method recognizes all of the paper content. The origin of the resulting paper will be at the origin of the content.