supervision-js
    Preparing search index...

    Interface MaskStrokeStyle

    Optional outline applied around prepared mask pixels.

    interface MaskStrokeStyle {
        color: number;
        alpha: number;
        width: number;
        alignment?: BoxStrokeAlignment;
        widthUnit?: "mask" | "screen";
    }
    Index
    color: number
    alpha: number
    width: number

    Total CSS-pixel width; explicit mask units retain the source-pixel radius.

    alignment?: BoxStrokeAlignment

    Where the outline grows from the mask boundary. Defaults to outside.

    widthUnit?: "mask" | "screen"

    Omit for the CSS-pixel raster outline; mask units scale with the media.