How to draw a point(x,y)?

Actually I’m in need of drawing a dotted line or a patterned line.
Since I didn’t find that in lvgl I’m now resorting to drawing single points made of one pixel.

What is the graphics function in lvgl to draw a point at x,y?