AutoMovie API
    Preparing search index...

    The labels of one paused picture, placed for the canvas as laid out.

    interface ILabels {
        dropped: number;
        labels: { left: number; path: string; text: string; top: number }[];
        lineHeight: number;
    }
    Index
    dropped: number

    How many asked labels were dropped because they would overlap a kept one or fall outside the picture.

    labels: { left: number; path: string; text: string; top: number }[]

    Each kept label: its path, its text, and its top-left corner in CSS pixels from the canvas's top-left.

    Type Declaration

    • left: number

      CSS pixels from the canvas's left edge.

    • path: string

      The labelled path.

    • text: string

      The text shown.

    • top: number

      CSS pixels from the canvas's top edge.

    lineHeight: number

    Height of the stamp's label box in CSS pixels, which the overlap was decided for.