Tape Item
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.).
is Focus
A boolean indicating whether the sticky item is currently focused.
first Point
The initial position of the sticky text item on the canvas.
translate
The offset used for translating the sticky text item on the canvas.
scale Factor
The scaling factor for the sticky text item.
scale Offset
The offset used for scaling the sticky text item.
property
The properties related to the sticky text item (e.g., font, size, color).