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
Argument | Default | Description |
xShear | (Mandatory) | The number of pixels to shear leftwards. |
yShear | 0 | The number of pixels to shear downwards. |
bgColor | FFFFFF | The background color used to fill the space left after transformation. |
filter | LinearFilter | The filter to use for re-sampling. |
blur | 1 | The blur factor to use for re-sampling. |
Return Value
None
© 2012 Advanced Software Engineering Limited. All rights reserved.