Screen

interface Screen(source)

Marker interface implemented by renderings that map to a UI system's 2d view class.

Inheritors

Functions

Link copied to clipboard
fun Screen.withEnvironment(environment: ViewEnvironment = ViewEnvironment.EMPTY): EnvironmentScreen<*>

Returns an EnvironmentScreen derived from the receiver, whose EnvironmentScreen.environment includes the values in the given environment.

Returns an EnvironmentScreen derived from the receiver, whose EnvironmentScreen.environment includes the given entry.

Link copied to clipboard

Returns an EnvironmentScreen derived from the receiver, whose EnvironmentScreen.environment includes viewRegistry.