CanvasService.distribute Method

Equally distribute the spacing between the selected objects.
 

Parameters

isVertical

Type: Boolean - May be null
(Optional) True to distribute vertically.
targetAdaptersOrViewModels

Type: Object - May be null
(Optional) The adapters or viewmodels to distribute. If not specified, assume selection.