SetMarkers module¶
- class SetMarkers.Markers¶
Bases:
object
The class for the user-added markers.
- __init__()¶
Initialize self. See help(type(self)) for accurate signature.
- add_marker(x, y, canvas, color)¶
Adds the marker to the canvas.
- Parameters
x (int) – x-coordinates of the circle.
y (int) – y-coordinates of the circle.
canvas – Parent canvas of the marker.
color – Fill-color of the marker.
- clear_all(canvas)¶
Deletes all markers on the canvas and resets the ID.
- delete_marker(event, canvas)¶
Function to delete the current marker under the mouse pointer.