image_rotated#

deltacamera.Camera.image_rotated(angle, anchor=None)[source]#

Return a camera adjusted for a rotated image.

Parameters:
  • angle – Rotation angle in radians (counter-clockwise)

  • anchor – Rotation center (x, y). If None, uses image center (requires image_shape).

Returns:

New Camera for the rotated image

Return type:

Camera