Function IMAGETRANSLATE
Copies an image to a new location on the plane.
Example
imagetranslate(any name,number xTrans,number yTrans,[string interpolation]):void
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
name | any | Yes | The image on which this operation is performed. |
xTrans | number | Yes | Displacement in the x direction. |
yTrans | number | Yes | Displacement in the y direction. |
interpolation | string | No |
Type of interpolation: |