remember Tape Controller
fun rememberTapeController(paint: Paint = defaultTapePaint(), imagePaint: Paint = Paint(), selectedTapeAlpha: Float = 0.2f, tapeCornerRadius: CornerRadius = CornerRadius(10f, 10f)): TapeController
Creates and remembers a TapeController instance.
Return
A remembered TapeController instance.
Parameters
paint
The default paint used for drawing the tape. Defaults to defaultTapePaint()
.
image Paint
The default paint used for drawing the tape image. Defaults to a new Paint()
.
selected Tape Alpha
The alpha value for the selected tape. Defaults to 0.2f
.
tape Width
The width of the tape. Defaults to 80f
.
tape Corner Radius
The corner radius for the tape. Defaults to CornerRadius(10f, 10f)
.