get_enableObjectsAlignment();
set_enableObjectsAlignment(value);
Object.defineProperty('enableObjectsAlignment');
Type | Description |
---|---|
boolean | true if you can align selected objects based on one of them; otherwise, false. The default value is false. |
When setting this property to true and when there are multiple selected objects, you can align them based on a target alignment object, which is one of the selected objects. The default alignment object is the last object added to the container and you can select the target alignment object by clicking on it when its grouped in a selection rectangle.
The alignment target object will be highlighted by a blue rectangle and you can change the way it is highlighting by overriding RenderAlignmentTarget method.
the alignment methds you can use are as follows: