anchor anchor

Image Anchor. Defines the anchor point of the image, solid color, or text bounding box rectangle, before applying transforms (crop=, scale=, rotate=, flip=). Also serves as the center-of-rotation for rotate=.

anchor= *coord*

anchorN= *coordN*

coord
pixel offset from the top-left corner of the source image (int, int)
coordN
normalized offset from the center of the source image (real, real)

The anchor point is transformed with the image and becomes the layer origin point (unless origin= is specified as well, in which case anchor= is used only as the center-of-rotation for rotate=).

anchorN=0,0 places the image anchor at the center of the source image. anchorN=-0.5,-0.5 or anchor=0,0 is at the top-left corner, and anchorN=0.5,0.5 is at the bottom-right corner of the source image.

Properties section-f08942bc6aae46a8b5d341faaff80640

Source image attribute. Applies to the current layer or to layer 0 if layer=comp.

Default section-35d369fab1254f1a9b91684a6e169ad1

If anchor= is not specified, catalog::Anchor is used. If catalog::Anchor is not defined, the center of the image rectangle is used (same as specifying anchorN=0,0).

Text layers involving textPs= and layers involving clipPath= may have different default anchors.

Example section-cc127e6b1ea94524900b5c0dd8b4c7ec

See “Example C” in Templates.

See also section-9877ea3a0743492aaa4fa1dfc9510b07

catalog::Anchor , origin=, rotate=, clipPath=, Text Layers

recommendation-more-help
a26166cd-f2f4-45ce-996d-96a0f0d6cf49