PictureEffectsRaw Xojo Plugin

SpotlightEffectRaw.Apply Method (console safe)

Applies the effect on a RawBitmap image with parameters that have been set on the class instance, taking in center point as parameter.

Apply(
   source as RawBitmap,
   centerX as Integer,
   centerY as Integer) as RawBitmap

Parameters

source
The source image as RawBitmap
centerX
X coordinate of the center of the spotlight.
centerY
Y coordinate of the center of the spotlight.

Returns

RawBitmap
The result as RawBitmap or nil if there was error

Remarks

See Also

SpotlightEffectRaw Class