meo-canvas - v8.1.5
    Preparing search index...

    Interface BoxShadowProps

    Defines the properties for a single box-shadow effect, similar to CSS box-shadow.

    interface BoxShadowProps {
        blur?: number;
        color?: string;
        inset?: boolean;
        offsetX?: number;
        offsetY?: number;
        spread?: number;
    }
    Index
    blur?: number

    The blur radius. Larger values create bigger, lighter blurs. Negative values are invalid.

    Pixels.

    0 (hard shadow)
    
    color?: string

    The color of the shadow. Accepts standard CSS color strings.

    inset?: boolean

    If true, the shadow is drawn inside the border (inset) instead of outside.

    false (outset)
    
    offsetX?: number

    The horizontal offset of the shadow. Positive values move it right, negative values left.

    Pixels.

    0
    
    offsetY?: number

    The vertical offset of the shadow. Positive values move it down, negative values up.

    Pixels.

    0
    
    spread?: number

    Grows the shadow beyond the node's box before it is blurred, as the fourth length of the CSS box-shadow shorthand does. A negative value shrinks it.

    An inset shadow spreads the other way, reaching further in from every edge.

    Pixels.

    0