Skip to content

Device.CanMove(int, int, int, bool, bool, IList) 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 int

Horizontal displacement in the design coordinate system.

deltaY int

Vertical displacement in the design coordinate system.

rotationAngle int

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 List[IMovable]

Returns

System.Boolean