Skip to content

Device.CanMoveint, int, int, bool, bool, IList\<IMovable\> Method

Return true if the emplacement at the newLocation is free.

1
bool CanMove(deltaX, deltaY, rotationAngle=0, horizontalFlip=false, verticalFlip=false, itemsToIgnore=None)

Parameters

deltaX System.Int32

Horizontal displacement in the design coordinate system.

deltaY System.Int32

Vertical displacement in the design coordinate system.

rotationAngle System.Int32

Rotation angle in degree. Clockwise

horizontalFlip System.Boolean

If true, the device is flipped on the horizontal axis

verticalFlip System.Boolean

If true, the device is flipped on the vertical axis

itemsToIgnore System.Collections.Generic.IList<IMovable>

Returns

System.Boolean