ChartDirector 6.0 (Ruby Edition)

DrawArea.sphereTransform


Usage

sphereTransform(xDiameter, yDiameter [, bgColor [, filter [, blur ]]])

Description

Wraps the drawing surface onto a sphere or ellipsoid.

Arguments

ArgumentDefaultDescription
xDiameter(Mandatory)The horizontal diameter of the sphere or ellipsoid in pixels.
yDiameter(Mandatory)The vertical diameter of the sphere or ellipsoid in pixels.
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