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

    Interface RectProps

    Base props that every Kayla functional component can receive.

    Extend this interface when defining custom component props.

    interface PlayerProps extends FCProps {
    initialSpeed?: number;
    color: string;
    }
    interface RectProps {
        key?: string;
        children?: KaylaElement<any> | KaylaElement<any>[];
        ref?: KaylaRef<KaylaRectEntity>;
        exportsRef?: KaylaRef<KaylaExports<any>>;
        cx: number;
        cy: number;
        width: number;
        height: number;
        color: string;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown
    Index

    Properties

    key?: string
    children?: KaylaElement<any> | KaylaElement<any>[]
    exportsRef?: KaylaRef<KaylaExports<any>>
    cx: number
    cy: number
    width: number
    height: number
    color: string