PictureEffects Xojo and Real Studio Plugin

ShapeDistortEffect.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(
   source as Picture,
   polygon as PolygonF) as Picture

Parameters

source
The source image.
polygon
A 4 point polygon that defines the pictures new shape. Note than inwards angles are not supported.

Returns

Picture
The result image.

Remarks

See Also

ShapeDistortEffect Class