PictureEffectsRaw Xojo Plugin |
|
RotateEffectRaw.Apply Method (console safe)
Applies the effect on a given source RawBitmap image.
Apply(
source as RawBitmap,
angle as Double,
backColor as Color,
method as Integer) as RawBitmap
Parameters
- source
- The source RawBitmap to work with. This can be any valid RawBitmap instance with 1, 2, 3 or 4 channels.
- 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
- 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.
- method
- Use this parameter to specify the quality of the rotation. (See the rotation constants on this class.)
Returns
- RawBitmap
- The rotated RawBitmap. (This picture usually is not in same width and height as the src picture).
The returned RawBitmap will have same channel structure as the source RawBitmap had.
Remarks
See Also
RotateEffectRaw Class