set Rotation
Sets the rotation of this free text annotation.
See also adjustBoundsForRotation.
Parameters
rotation
The clockwise rotation in degrees.
content Size
The size of the annotation content, it will be rotated and scaled to fit inside the actual bounding box.
adjust Bounds
If true
will also adjust the bounding box to match the new rotation.
Sets the rotation of this free text annotation. This will adjust the bounding box so rotating the annotation will cause the bounds to change.
Parameters
rotation
The clockwise rotation in degrees.