Tape Controller
Controller responsible for managing tape-related actions, including drawing the tape, handling touch events, and maintaining the state of the tape items.
Parameters
The default paint used for drawing the tape.
The default paint used for drawing the tape image.
The default alpha value for selected tapes.
The default corner radius of the tape.
Properties
Gets the current corner radius for the tape.
Gets the current paint style for the tape image.
The invalidate tick used to trigger re-rendering of the component.
Checks if multi-touch mode is active.
Gets the current alpha value for selected tape items.
Gets a map of selected tape items.
Gets a copy of the list of all tape items.
The touch event handler for the tape.
Functions
Adds a new tape item to the list of tape items.
Selects or deselects a tape item based on the given point.
Updates the corner radius for the tape.
Updates the invalidate tick to trigger a re-render.
Updates the multi-touch state of the controller.
Updates the alpha value for selected tape items.
Updates the color of the tape.
Updates the color of the tape image.
Updates the paint style for the tape image.
Updates the stroke width of the tape image.
Updates the paint style for the tape.
Updates the stroke width of the tape.