insertNewTextbox(attributedText:frame:rotation:)
Add a new text box on top of the paper.
Declaration
mutating func insertNewTextbox(attributedText: AttributedString, frame: CGRect, rotation: CGFloat = 0)Parameters
- attributedText:
The text inside the element.
- frame:
The frame to add the element at.
- rotation:
The rotation in radians to add the element with.