Javascript [Electronic resources] : The Definitive Guide (4th Edition)

David Flanagan

نسخه متنی -صفحه : 844/ 461
نمايش فراداده

Synopsis

layer.moveBy(dx, dy)

Arguments

dx

The number of pixels to move the layer to the right (may be negative).

dy

The number of pixels to move the layer down (may be negative).

Description

moveBy( ) moves layer dx pixels to the right and dy pixels down from its current position.