[][src]Function lvgl::widgets::line::set_y_invert

pub fn set_y_invert(line: *mut lv_obj_t, en: bool) -> MynewtResult<()>

Enable (or disable) the y coordinate inversion. If enabled then y will be subtracted from the height of the object, therefore the y=0 coordinate will be on the bottom.

  • line: pointer to a line object
  • en: true: enable the y inversion, false:disable the y inversion