borderSize property Null safety
read / write
Update the edge pixel sampling radius, the higher the value, the smoother the transition, but more resources and time are needed for processing.
- Usually, some green pixels will remain at the junction of the background and foreground, and the SDK will take the average value of nearby pixels as the new pixel value to remove the residual.
- Range:
0, 100
- Default value: 1
Implementation
int borderSize = 1;