ChartDirector 6.0 (Perl Edition)

DrawArea.rotate


Usage

rotate(angle [, bgColor [, cx [, cy [, filter [, blur ]]]]])

Description

Rotate the drawing surface.

Arguments

ArgumentDefaultDescription
angle(Mandatory)The rotation angle measured clockwise in degrees.
bgColorFFFFFFThe background color used to fill the space left after rotation.
cx-1The x coordinate of the center of rotation. -1 means rotating about the center of the drawing surface.
cy-1The y coordinate of the center of rotation. -1 means rotating about the center of the drawing surface.
filterLinearFilterThe filter to use for re-sampling.
blur1The blur factor to use for re-sampling.

Return Value

None