PictureEffectsConsole Xojo Plugin

RotateEffectConsole.Apply Method (console only)

Applies the effect on a given source image.

Apply(
   source as Picture,
   angle as Double,
   backColor as Color,
   method as Integer) as Picture

Parameters

source
The source picture to work with.
angle
The number of degrees to rotate. If you pass 90, 180 or 270 to it then native rotation mode for the specified value is selected for extra speed and extra precision. It is perfectly valid to pass a number larger than 360 to this parameter.
backColor
Use this parameter to choose a color to fill extra area. Extra area is generated when doing free rotation (rotation where the angle is other than 90, 180 or 270 degrees).
method
Use this parameter to specify the quality of the rotation. (See RotationMethod constants)

Returns

Picture
The rotated picture. (This picture usually is not in same width and height as the src picture).

Remarks

See Also

RotateEffectConsole Class