navigate.tools.image.create_arrow_image
- navigate.tools.image.create_arrow_image(xys, image_width=300, image_height=200, direction='right', image=None)
Create/Update a Image Object
Draw lines and arrows in a Image ojbect
- Parameters:
xys (list) – list of points [(x, y),] to draw lines
image_width (int) – width of image
image_height (int) – height of image
direction (str) – arrow directions: “left”, “right”, “up”, “down”
image (Image/None) – update an exist Image object/create a new Image object
- Returns:
Image object
- Return type:
image