Attachable
Inheritors
Properties
Link copied to clipboard
The initial position of the attachable object on the canvas. This represents the point where the object was first placed before any transformations (such as move or scale).
Link copied to clipboard
The scaling factor for the attachable object. This value defines how much the object should be scaled in size.
Link copied to clipboard
The scaling offset applied to the attachable object. This offset determines how much the object is scaled from its original size.
Link copied to clipboard
The type of the attachable object (e.g., sticky note, image, or text box).
Functions
Link copied to clipboard
abstract fun copySelf(id: String = this.id, type: StickyType = this.type, isFocus: Boolean = this.isFocus, firstPoint: Offset = this.firstPoint, translate: Offset = this.translate, scaleOffset: Offset = this.scaleOffset, scaleFactor: Float = this.scaleFactor, property: Property = this.property): Attachable
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.