Value
Name | Description | Value |
---|---|---|
AnchorPosition.BOTTOMCENTER | The middle point of the bottom of the object. | int 8 |
AnchorPosition.BOTTOMLEFT | The bottom left corner of the object. | int 7 |
AnchorPosition.BOTTOMRIGHT | The bottom right corner of the object. | int 9 |
AnchorPosition.MIDDLECENTER | The center of the object. | int 5 |
AnchorPosition.MIDDLELEFT | The middle point on the left side of the object. | int 4 |
AnchorPosition.MIDDLERIGHT | The middle point on the right side of the object. | int 6 |
AnchorPosition.TOPCENTER | The middle point on the top of the object. | int 2 |
AnchorPosition.TOPLEFT | The top left corner of the object. | int 1 |
AnchorPosition.TOPRIGHT | The top right corner of the object. | int 3 |
Usage
In function
void Document.resizeCanvas ([width: UnitValue][, height: UnitValue][, anchor: AnchorPosition=AnchorPosition.MIDDLECENTER])
void Layer.resize ([horizontal: number=100][, vertical: number=100][, anchor: AnchorPosition=AnchorPosition.MIDDLECENTER])
void Layer.rotate (angle: number[, anchor: AnchorPosition=AnchorPosition.MIDDLECENTER])
void Selection.resize ([horizontal: number=100][, vertical: number=100][, anchor: AnchorPosition=AnchorPosition.MIDDLECENTER])
void Selection.resizeBoundary ([horizontal: number=100][, vertical: number=100][, anchor: AnchorPosition=AnchorPosition.MIDDLECENTER])
void Selection.rotate (angle: number[, anchor: AnchorPosition=AnchorPosition.MIDDLECENTER])
void Selection.rotateBoundary (angle: number[, anchor: AnchorPosition=AnchorPosition.MIDDLECENTER])
Jongware, 28-Aug-2012 v3.0.3i | Contents :: Index |