| The type of pixels to trim around an image. |
Value
| Name | Description | Value |
TrimType.BOTTOMRIGHT | Removes from the image an area the color of the lower right pixel. |
int
9
|
TrimType.TOPLEFT | Removes from the image an area the color of the upper left pixel. |
int
1
|
TrimType.TRANSPARENT | Trims away transparency at the edges of the image, leaving the smallest image containing nontransparent pixels. |
int
0
|
|
Usage
| In function
void Document.trim ([type:
TrimType=TrimType.TOPLEFT][, top:
bool=true][, left:
bool=true][, bottom:
bool=true][, right:
bool=true])
|