[]
DsPdfJS API / GaussianBlurBorderMode
The mapping mode for the pixels outside of the border in the Gaussian blur effect.
BorderColor:
1
Always blend the border pixels with borderColor.
Bounce:
5
Bounce off the border: gfedcb|abcdefgh|gfedcb.
Default:
0
Blend the border pixels with surrounding pixels, if possible, or with borderColor if the border is at the edge of the source image.
Mirror:
4
Mirror the last few border pixels: fedcba|abcdefgh|hgfedcb.
RepeatEdge:
2
Repeat the very border pixel color: aaaaaa|abcdefgh|hhhhhh.
Wrap:
3
Take colors from the opposite edge: cdefgh|abcdefgh|abcdef.