supervision-js
    Preparing search index...

    Interface LabelBackgroundStyle

    Background styling for a rendered detection label.

    interface LabelBackgroundStyle {
        color: number;
        alpha: number;
        cornerRadius?: number;
        paddingX?: number;
        paddingY?: number;
        topCornersOnly?: boolean;
    }
    Index
    color: number
    alpha: number
    cornerRadius?: number
    paddingX?: number
    paddingY?: number
    topCornersOnly?: boolean

    Round only the top corners when true, all four when false. Omit to follow the label's attachment to a displayed box.