[−][src]Function lvgl::widgets::img::set_pivot
pub fn set_pivot(
img: *mut lv_obj_t,
pivot_x: lv_coord_t,
pivot_y: lv_coord_t
) -> MynewtResult<()>
Set the rotation center of the image. The image will be rotated around this point
img
: pointer to an image objectpivot_x
: rotation center x of the imagepivot_y
: rotation center y of the image