ChartDirector 5.1 (PHP Edition)
DrawArea.cloneTo
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
d | (Mandatory) | The destination DrawArea object where the current DrawArea is copied to. |
x | (Mandatory) | The x coordinate of a reference point in the destination DrawArea object. |
y | (Mandatory) | The y coordinate of a reference point in the destination DrawArea object. |
align | (Mandatory) | The alignment of the current DrawArea relative to the reference point. See Alignment Specification for supported alignment types. |
newWidth | -1 | The new width to which the current DrawArea will be resized to before copying. -1 means no resizing. |
newHeight | -1 | The new height to which the current DrawArea will be resized to before copying. -1 means no resizing. |
filter | LinearFilter | The filter to use for re-sampling. (Only applies if there is resizing.) |
blur | 1 | The blur factor to use for re-sampling. (Only applies if there is resizing.) |
Return Value