ScreenObjectSnapshot
@Serializable
Represents a serializable snapshot of a screen object.
This class captures the state of a screen object at a specific point in time for persistence or restoration purposes. It is independent from runtime screen object instances and is used as a data-only representation.
Screen objects can form a hierarchical structure, expressed through nested children snapshots.
Constructors
Link copied to clipboard
constructor(type: String, id: String, size: ScreenObjectSnapshot.Size, isVisible: Boolean, layoutMargin: EdgeInsets, horizontalAlignment: Int, verticalAlignment: Int, elements: Map<String, String>, children: List<ScreenObjectSnapshot>)
Properties
Link copied to clipboard
Child screen object snapshots that form a hierarchical screen structure.
Link copied to clipboard
The horizontal alignment of the screen object within its parent.
Link copied to clipboard
The margin applied to the screen object when performing layout calculations.
Link copied to clipboard
The position and size of the screen object within its parent coordinate space.
Link copied to clipboard
The vertical alignment of the screen object within its parent.