ImageScreenObject
@ScreenActor
public final class ImageScreenObject : ScreenObject
An object that manages offscreen rendering a cgImage source.
-
Specifies the image.
Declaration
Swift
@ScreenActor public var cgImage: CGImage? { get set }
-
Declaration
Swift
@ScreenActor override public func makeImage(_ renderer: some ScreenRenderer) -> CGImage?
-
Declaration
Swift
@ScreenActor override public func makeBounds(_ size: CGSize) -> CGRect