moveV(distance, wrap) → {Phaser.BitmapData}
Shifts the contents of this BitmapData vertically.
The image will wrap-around the sides if the wrap argument is true (the default).
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
distance | integer | The amount of pixels to vertically shift the canvas by. Use a negative value to shift up, positive to shift down. | ||
wrap | boolean | <optional> | true | Wrap the content of the BitmapData. |
Returns
This BitmapData object for method chaining.
- Source code: gameobjects/BitmapData.js (Line 330)
Please login to continue.