TextScreenObject
@ScreenActor
public final class TextScreenObject : ScreenObject
An object that manages offscreen rendering a text source.
-
Specifies the text value.
Declaration
Swift
@ScreenActor public var string: String { get set }
-
Specifies the attributes for strings.
Declaration
Swift
@ScreenActor public var attributes: [NSAttributedString.Key : Any]? { get set }
-
Specifies the attributes for strings.
-
Declaration
Swift
@ScreenActor override public var bounds: CGRect { get set }
-
Declaration
Swift
@ScreenActor override public func makeBounds(_ size: CGSize) -> CGRect
-
Declaration
Swift
@ScreenActor override public func makeImage(_ renderer: some ScreenRenderer) -> CGImage?