clik-engine API
    Preparing search index...

    Interface TrailConfig

    interface TrailConfig {
        alphaEnd?: number;
        alphaStart?: number;
        color?: number;
        depth?: number;
        maxLength?: number;
        minDistance?: number;
        width?: number;
    }
    Index

    Properties

    alphaEnd?: number

    Alpha at the tail (default: 0)

    alphaStart?: number

    Alpha at the head (default: 1)

    color?: number

    Trail color (default: 0xffffff)

    depth?: number

    Depth for the graphics object

    maxLength?: number

    Maximum number of trail points (default: 20)

    minDistance?: number

    Minimum distance between points to record (default: 5)

    width?: number

    Trail width in pixels (default: 4)