ChartDirector 7.0 (Python Edition)

DrawArea.shearTransform


Usage

shearTransform(xShear [, yShear [, bgColor [, filter [, 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