ChartDirector 5.1 (.NET Edition)

DrawArea.rotate


Usage

[VB] Public Sub rotate(angle As Double [, bgColor As Integer [, cx As Double [, cy As Double [, filter As Integer [, blur As Double ]]]]])
[C#] public void rotate(double angle [, int bgColor [, double cx [, double cy [, int filter [, double 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