RasterGraphics.setOrigin( ox, oy )
Set the center point of the canvas.Parameters
| Name | Type | Description | |
|---|---|---|---|
| ox | number | width in pixels. | |
| oy | number | height in pixels. |
Returns
| Type | Description |
|---|---|
| object | The graphics object. This allow for chaining multiple setter methods in one single statement. |