AnchorPosition in Photoshop DOM
(enumeration object)
Constants
| name | object | value | description |
|---|---|---|---|
| BOTTOMCENTER | AnchorPosition | 8 | |
| BOTTOMLEFT | AnchorPosition | 7 | |
| BOTTOMRIGHT | AnchorPosition | 9 | |
| MIDDLECENTER | AnchorPosition | 5 | |
| MIDDLELEFT | AnchorPosition | 4 | |
| MIDDLERIGHT | AnchorPosition | 6 | |
| TOPCENTER | AnchorPosition | 2 | |
| TOPLEFT | AnchorPosition | 1 | |
| TOPRIGHT | AnchorPosition | 3 |
Arguments that are a AnchorPosition
| name | in method | of object | description |
|---|---|---|---|
| anchor | resizeCanvas([width],[height],[anchor]) | Document | |
| anchor | remove([horizontal],[vertical],[anchor]) | LayerSet | |
| anchor | resize([horizontal],[vertical],[anchor]) | ArtLayer | |
| anchor | resizeBoundary([horizontal],[vertical],[anchor]) | Selection | |
| anchor | rotate(angle,[anchor]) | ArtLayer | |
| anchor | rotateBoundary(angle,[anchor]) | Selection |