Contents

cgImage

The current contents of the view, rasterized as a Core Graphics image.

Declaration

@MainActor final var cgImage: CGImage? { get }

Discussion

The renderer notifies its objectWillChange publisher when the contents of the image may have changed.

See Also

Rendering images