MotionScript

@motion-script/core


@motion-script/core / ShapeAnchorInput

Interface: ShapeAnchorInput

Defined in: render/descriptors/shape.ts:49

The cardinal-anchor positioning props a shape descriptor accepts (input-only; they don't appear on the resolved *State). Pass at most one, and not together with x, y, or pivot. Each value is the y-up point the named anchor lands on.

Properties

bottomCenter?

optional bottomCenter?: Vector2

Defined in: render/descriptors/shape.ts:56


bottomLeft?

optional bottomLeft?: Vector2

Defined in: render/descriptors/shape.ts:53


bottomRight?

optional bottomRight?: Vector2

Defined in: render/descriptors/shape.ts:54


center?

optional center?: Vector2

Defined in: render/descriptors/shape.ts:50


centerLeft?

optional centerLeft?: Vector2

Defined in: render/descriptors/shape.ts:57


centerRight?

optional centerRight?: Vector2

Defined in: render/descriptors/shape.ts:58


topCenter?

optional topCenter?: Vector2

Defined in: render/descriptors/shape.ts:55


topLeft?

optional topLeft?: Vector2

Defined in: render/descriptors/shape.ts:51


topRight?

optional topRight?: Vector2

Defined in: render/descriptors/shape.ts:52