replaceImage(with:)
Replaces the contents of this image markup with a CGImage.
Declaration
mutating func replaceImage(with image: CGImage)Parameters
- image:
The new image to display.
Discussion
Image content is shown scaled to fill.
Replaces the contents of this image markup with a CGImage.
mutating func replaceImage(with image: CGImage)The new image to display.
Image content is shown scaled to fill.