Ilya Laktyushin 40c2c1b620 Various fixes
2023-08-12 19:49:16 +02:00

23 lines
543 B
Swift

import Foundation
import UIKit
public protocol DrawingEntity: AnyObject {
var uuid: UUID { get set }
var isAnimated: Bool { get }
var center: CGPoint { get }
var isMedia: Bool { get }
var lineWidth: CGFloat { get set }
var color: DrawingColor { get set }
var scale: CGFloat { get set }
func duplicate(copy: Bool) -> DrawingEntity
var renderImage: UIImage? { get set }
var renderSubEntities: [DrawingEntity]? { get set }
func isEqual(to other: DrawingEntity) -> Bool
}