insertNewImage(_:frame:rotation:)
Add a new image on top of the paper.
Declaration
mutating func insertNewImage(_ image: CGImage, frame: CGRect, rotation: CGFloat = 0)Parameters
- image:
The image to add.
- frame:
The frame to add the image at.
- rotation:
The rotation in radians to add the element with.