Sticky Text Item
Represents a sticky text item that can be attached to the canvas. This class contains properties related to the text, including its position, scaling, and properties.
Parameters
The text content of the sticky item. Defaults to "input".
The unique identifier for the sticky text item, generated using Uuid
.
The type of the sticky item (e.g., text, image, etc.).
A boolean indicating whether the sticky item is currently focused.
The initial position of the sticky text item on the canvas.
The offset used for translating the sticky text item on the canvas.
The scaling factor for the sticky text item.
The offset used for scaling the sticky text item.
The properties related to the sticky text item (e.g., font, size, color).
Properties
Functions
Creates and returns a copy of the attachable object with updated properties. This method allows for creating a new instance with specific modifications, while preserving the original attributes.