Interface XPaddingOptions

interface XPaddingOptions {
    algorithm?: "value" | "duplicate" | "circular";
    size?: number;
    value?: number;
}

Properties

algorithm?: "value" | "duplicate" | "circular"
size?: number

padding size before first element and after last element

Default

0
value?: number

value to use for padding (if algorithm='value')

Default

0