@kayelaa/canvas API - v0.2.15
    Preparing search index...

    Interface KaylaLayerInfo

    Configuration object for a single named rendering layer. Created/managed via <Layer> components.

    interface KaylaLayerInfo {
        name: string;
        z: number;
        blendMode?: GlobalCompositeOperation;
        visible: boolean;
        rootFiber: UnsafeKaylaFiber;
        transform?: KMatrix2D;
    }
    Index

    Properties

    name: string

    Unique name of the layer (used as key in scene.#layers Map)

    z: number

    Z-index / sort order of the layer itself (higher = drawn later)

    blendMode?: GlobalCompositeOperation

    Blend mode applied to the entire layer during rendering

    visible: boolean

    Whether this layer should be rendered at all

    rootFiber: UnsafeKaylaFiber

    Root fiber whose subtree belongs to this layer. Usually set to the fiber of the <Layer name="..." /> component that first claimed this name.

    transform?: KMatrix2D

    2D transformation matrix applied to rendering and pointer coordinate transformation. When present, pointer events inside this layer are delivered in local coordinates.