[]
        
(Showing Draft Content)

GaussianBlurBorderMode

DsPdfJS API v9.1.0


DsPdfJS API / GaussianBlurBorderMode

Enumeration: GaussianBlurBorderMode

The mapping mode for the pixels outside of the border in the Gaussian blur effect.

Enumeration Members

BorderColor

BorderColor: 1

Always blend the border pixels with borderColor.


Bounce

Bounce: 5

Bounce off the border: gfedcb|abcdefgh|gfedcb.


Default

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

Mirror: 4

Mirror the last few border pixels: fedcba|abcdefgh|hgfedcb.


RepeatEdge

RepeatEdge: 2

Repeat the very border pixel color: aaaaaa|abcdefgh|hhhhhh.


Wrap

Wrap: 3

Take colors from the opposite edge: cdefgh|abcdefgh|abcdef.