ZRenderizableMixin

Mixin interface for components that can be rendered.

This interface provides the contract for rendering capabilities, allowing components to expose their renderer and rendering state. It is designed to be used as a mixin to add rendering functionality to components.

Type Parameters

R

The type of the renderer associated with this component. It must inherit from ZComponentRenderer.

Inheritors

Properties

Link copied to clipboard
abstract val isRenderizable: Boolean

Indicates whether this component is renderizable.

Link copied to clipboard
abstract val renderer: R

Provides access to the component's renderer.

Functions

Link copied to clipboard
abstract fun createRenderer(ctx: ZRenderingContext): R

Creates a new renderer instance for this component.