Member Junction
    Preparing search index...

    A fractional highlight rectangle drawn over a media item, in the item's OWN coordinate space (0..1 on both axes). X,Y is the top-left corner; W,H are the width/height. Fractional coordinates keep the highlight correct regardless of how the media is scaled to fit the pane.

    interface MediaHighlight {
        H: number;
        Label?: string;
        W: number;
        X: number;
        Y: number;
    }
    Index

    Properties

    Properties

    H: number

    Height as a fraction of height (0..1).

    Label?: string

    Optional short label rendered on the highlight.

    W: number

    Width as a fraction of width (0..1).

    X: number

    Left edge as a fraction of width (0..1).

    Y: number

    Top edge as a fraction of height (0..1).