TapeItem

constructor(id: String = Uuid.random().toString(), bound: Rect, startPoint: Offset, paint: Paint, imagePaint: Paint, path: Path, imagePath: Path = Path())

Parameters

text

The text content of the sticky item. Defaults to "input".

id

The unique identifier for the sticky text item, generated using Uuid.

type

The type of the sticky item (e.g., text, image, etc.).

isFocus

A boolean indicating whether the sticky item is currently focused.

firstPoint

The initial position of the sticky text item on the canvas.

translate

The offset used for translating the sticky text item on the canvas.

scaleFactor

The scaling factor for the sticky text item.

scaleOffset

The offset used for scaling the sticky text item.

property

The properties related to the sticky text item (e.g., font, size, color).