ZViewport
11 items
constructorZViewport
constructor()
override val isInitialized: Boolean
Represents a boolean value indicating whether a component has been initialized.
open override val isRenderizable: Boolean = true
Represents a boolean value indicating whether a component is renderizable.
valrefId
Represents the unique identifier for a reference-based component. The refId is used as a distinctive key for retrieving or linking this component within reference-dependent systems.
valrenderer
val renderer: ZViewportRenderer
varviewBox
Represents the view box used as viewport for rendering objects. The view box defines the boundaries and dimensions of the viewport.
open override fun createRenderer(ctx: ZRenderingContext): ZViewportRenderer
funinitialize
open override fun initialize(ctx: ZRenderingContext)
Initializes the ZComponent using the provided ZRenderingContext.
open override fun onViewportResize(width: Int, height: Int)
Notifies the listener when the viewport dimensions change.