ChartDirector 5.1 (.NET Edition)

DrawArea.shearTransform


Usage

[VB] Public Sub shearTransform(xShear As Double [, yShear As Double [, bgColor As Integer [, filter As Integer [, blur As Double ]]]])
[C#] public void shearTransform(double xShear [, double yShear [, int bgColor [, int filter [, double blur ]]]]);

Description

Shear the drawing surface.

Shearing can be applied along the horizontal direction and/or vertical direction. A rectangle, after shearing, will become a parallelogram.

Arguments

ArgumentDefaultDescription
xShear(Mandatory)The number of pixels to shear leftwards.
yShear0The number of pixels to shear downwards.
bgColorFFFFFFThe background color used to fill the space left after transformation.
filterLinearFilterThe filter to use for re-sampling.
blur1The blur factor to use for re-sampling.

Return Value

None