supervision-js
    Preparing search index...

    Interface MaskStrokeStyleOptions

    Mask outline options accepted by built-in mask styles.

    Missing values are resolved from the mask color and renderer-friendly defaults before draw instructions reach a renderer backend.

    interface MaskStrokeStyleOptions {
        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

    Defaults to outside, preserving the mask interior.

    widthUnit?: "mask" | "screen"