origin

Layer origin.

origin=coord

originN=coordN

coord

Pixel offset from the top-left corner of the layer rect (int, int).

coordN

Normalized offset from the center of the layer rect (real, real).

Note: The layer rect always includes any modification by extend=.

Defines the alignment point of the layer rectangle, which is used to position the layer rectangle relative to layer 0 via pos=. originN=0,0 positions the layer origin at the center of the layer rectangle. originN=-0.5,-0.5 and origin=0,0 is the top-left corner, and originN=0.5,0.5 is the bottom-right corner of the layer rectangle.

Properties

Layer attribute. Applies to the current layer or to layer 0 if layer=comp. Not affected by layer transforms (crop=, scale=, rotate=, flip=) applied to the layer source. Overrides anchor=. Ignored by effect layers.

Default

If origin= is not specified, the layer origin is determined by applying the layer transforms to the image anchor. If the image anchor is not known, the center of the layer rectangle (originN=0,0) is used.

Example

See Example A in Templates.

See also

anchor= , pos=, extend=