PictureEffects Xojo and Real Studio Plugin

PolarCoordinatesEffect.Apply Method

Applies the effect on a given 32 bit source image with a given 32 bit mask and returns the result to a new image.

Apply(
   src as Picture,
   rectangularToPolar as Boolean,
   flipMapping as Boolean,
   backColor as Color) as Picture

Parameters

src
The source picture to work with (has to be a 32 bit image).
rectangularToPolar
Set to true to do rectangular to polar transform, set to false to do polar to rectangular transform.
flipMapping
Set to true to flip the mapping to the other direction.
backColor
The color that will be used to fill the area around the circle when doing Rectangular to Polar transform.

Returns

Picture
The result image.

Remarks

See Also

PolarCoordinatesEffect Class