ChartDirector 6.0 (Perl Edition)

DrawArea.clone


Usage

clone(d, x, y, align [, newWidth [, newHeight [, filter [, blur ]]]])

Description

Copy the current DrawArea object to another DrawArea object, with optional resizing.

Arguments

ArgumentDefaultDescription
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-1The new width to which the current DrawArea will be resized to before copying. -1 means no resizing.
newHeight-1The new height to which the current DrawArea will be resized to before copying. -1 means no resizing.
filterLinearFilterThe filter to use for re-sampling. (Only applies if there is resizing.)
blur1The blur factor to use for re-sampling. (Only applies if there is resizing.)

Return Value

None