ImageScreenObject

public final class ImageScreenObject : ScreenObject

An object that manages offscreen rendering a cgImage source.

  • Specifies the image.

    Declaration

    Swift

    public var cgImage: CGImage? { get set }
  • Declaration

    Swift

    override public func makeImage(_ renderer: some ScreenRenderer) -> CGImage?
  • Declaration

    Swift

    override public func makeBounds(_ size: CGSize) -> CGRect