TimelineKit API
    Preparing search index...

    Interface SchedulerEventRenderArgs

    Arguments passed to the custom event rendering callback.

    interface SchedulerEventRenderArgs {
        color: ColorValue;
        ctx: CanvasRenderingContext2D;
        event: SchedulerEvent;
        isSelected: boolean;
        rect: Rect;
        resource: SchedulerResource;
    }
    Index

    Properties

    color: ColorValue

    Resolved color for the event (theme index or custom definition).

    ctx: CanvasRenderingContext2D

    The canvas 2D rendering context.

    The event being rendered.

    isSelected: boolean

    Whether the event is currently selected.

    rect: Rect

    Position and size of the event bar in canvas pixels.

    The resource the event belongs to.