Einhugur SVG Plugin for Xojo |
|
Image.Rotate Method
Rotates the image by given amount of degrees taking in cx and cy parameters to determine centre point of the rotation.

Rotate(
angle
as Double,
cx
as Double,
cy
as Double)
Parameters
- angle
- Amount to rotate in degrees.
- cx
- X coordinate of the centre point for the rotation.
- cy
- Y coordinate of the centre point for the rotation.
Remarks
Image is rotated clockwise.
It it important to realise that the centre point is in coordinates relative to the SVG and not relative to the rendering.
See Also
Image Class