[−][src]Function lvgl::widgets::img::set_angle
pub fn set_angle(img: *mut lv_obj_t, angle: i16) -> MynewtResult<()>
Set the rotation angle of the image.
The image will be rotated around the set pivot set by lv_img_set_pivot()
img
: pointer to an image objectangle
: rotation angle in degree with 0.1 degree resolution (0..3600: clock wise)