Open this page in the API Guide
Canvas.distribute Method
Equally distribute the spacing between the viewModels.
Parameters
- isVertical
-
Type: Boolean
True if distribute vertically.
- viewModels
-
Type: Array
ElementType: DesignObjectViewModel
Viewmodels to distribute.