Vector Image Item
data class VectorImageItem(val id: String = Uuid.random().toString(), val type: StickyType, val isFocus: Boolean = false, val firstPoint: Offset, val translate: Offset = Offset.Zero, val scaleFactor: Float = 1.0f, val scaleOffset: Offset = Offset.Zero, val property: Property) : Attachable
Represents a vector image item that can be attached to a canvas or document. This class manages properties such as position, scaling, and transformations.
Properties
Functions
Link copied to clipboard
open override fun copySelf(id: String, type: StickyType, isFocus: Boolean, firstPoint: Offset, translate: Offset, scaleOffset: Offset, scaleFactor: Float, property: 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.