GMImage.Rollxy
--------------

Roll image (rolls image vertically and horizontally) by specified number of columnms and rows)

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [GraphicsMagick](component_GraphicsMagick.md) | [2.0](newinversion20.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "GMImage.Rollxy"; ImageRef; columns; rows ) 

**MBS**( **"GMImage.Rollxy";** /\* Roll image (rolls image vertically and horizontally) by specified number of columnms and rows) \*/  
**$ImageRef**; /\* The image reference number.e.g. 1 \*/   
**$columns**; /\* The column index.e.g. 0 \*/   
**$rows**) /\* The row index.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ImageRef | The image reference number. | 1 |
| columns | The column index. | 0 |
| rows | The row index. | 0 |

### Result

Returns "OK" on success.

### Description

Roll image (rolls image vertically and horizontally) by specified number of columnms and rows)  
### See also

- [GMImage.Roll](GMImageRoll.md)
- [GMImage.Rotate](GMImageRotate.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[GMImage.Roll](GMImageRoll.md) - [GMImage.Rotate](GMImageRotate.md)

[HTML Version](GMImageRollxy.shtml)