ScreenObject
@ScreenActor
open class ScreenObject
extension ScreenObject: Hashable
                The ScreenObject class is the abstract class for all objects that are rendered on the screen.
- 
                  
                  
The horizontal alignment for the screen object.
See moreDeclaration
Swift
public enum HorizontalAlignment - 
                  
                  
The vertical alignment for the screen object.
See moreDeclaration
Swift
public enum VerticalAlignment - 
                  
                  
The screen object container that contains this screen object
Declaration
Swift
@ScreenActor public internal(set) weak var parent: ScreenObjectContainer? { get } - 
                  
                  
Specifies the size rectangle.
Declaration
Swift
@ScreenActor public var size: CGSize { get set } - 
                  
                  
The bounds rectangle.
Declaration
Swift
@ScreenActor public internal(set) var bounds: CGRect { get } - 
                  
                  
Specifies the visibility of the object.
Declaration
Swift
@ScreenActor public var isVisible: Bool - 
                  
                  
Specifies the default spacing to laying out content in the screen object.
Declaration
Swift
@ScreenActor public var layoutMargin: NSEdgeInsets - 
                  
                  
Specifies the default spacing to laying out content in the screen object.
 - 
                  
                  
Specifies the radius to use when drawing rounded corners.
Declaration
Swift
@ScreenActor public var cornerRadius: CGFloat - 
                  
                  
Specifies the alignment position along the vertical axis.
Declaration
Swift
@ScreenActor public var verticalAlignment: VerticalAlignment - 
                  
                  
Specifies the alignment position along the horizontal axis.
Declaration
Swift
@ScreenActor public var horizontalAlignment: HorizontalAlignment - 
                  
                  
Creates a screen object.
Declaration
Swift
@ScreenActor public init() - 
                  
                  
Invalidates the current layout and triggers a layout update.
Declaration
Swift
@ScreenActor public func invalidateLayout() - 
                  
                  
Makes cgImage for offscreen image.
Declaration
Swift
@ScreenActor open func makeImage(_ renderer: some ScreenRenderer) -> CGImage? - 
                  
                  
Makes screen object bounds for offscreen image.
Declaration
Swift
@ScreenActor open func makeBounds(_ size: CGSize) -> CGRect 
- 
                  
                  
Declaration
Swift
nonisolated public static func == (lhs: ScreenObject, rhs: ScreenObject) -> Bool - 
                  
                  
Declaration
Swift
nonisolated public func hash(into hasher: inout Hasher)