weasel API - v0.8.0
    Preparing search index...

    Interface TweenVertexColorsOptions

    interface TweenVertexColorsOptions {
        channel: VertexColorChannel;
        easing?: EasingFn;
        from: readonly number[];
        id: string;
        interpolate?: ColorInterpolate;
        interpolation?: ColorSpace;
        ms: number;
        onDone?: () => void;
        to: readonly number[];
    }
    Index

    Properties

    easing?: EasingFn
    from: readonly number[]

    Per-anchor RGBA, flat, in 0..1 floats. Length must equal to.length and be a positive multiple of 4.

    id: string
    interpolate?: ColorInterpolate
    interpolation?: ColorSpace
    ms: number
    onDone?: () => void
    to: readonly number[]

    Per-anchor RGBA, flat, in 0..1 floats (matches the renderer's stroke.vertexColors / PathDrawCommand.vertexColors color space). Length must equal from.length.