Signal-iOS/SignalUI/ImageEditor/ImageEditorTransformable.swift
2024-03-25 14:22:28 -05:00

15 lines
392 B
Swift

//
// Copyright 2023 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
//
import Foundation
protocol ImageEditorTransformable: ImageEditorItem {
var unitCenter: ImageEditorSample { get }
var scaling: CGFloat { get }
var rotationRadians: CGFloat { get }
func copy(unitCenter: CGPoint) -> Self
func copy(scaling: CGFloat, rotationRadians: CGFloat) -> Self
}