ChangeTransformOperation
public struct ChangeTransformOperation : DrawingOperation
Change the transform of a ShapeWithTransform
. Undoing sets its transform
back to its original value.
-
Declaration
Swift
public init(shape: ShapeWithTransform, transform: ShapeTransform, originalTransform: ShapeTransform)
-
Declaration
Swift
public func apply(drawing: Drawing)
-
Declaration
Swift
public func revert(drawing: Drawing)