@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?
optionalbottomCenter?:Vector2
Defined in: render/descriptors/shape.ts:56
bottomLeft?
optionalbottomLeft?:Vector2
Defined in: render/descriptors/shape.ts:53
bottomRight?
optionalbottomRight?:Vector2
Defined in: render/descriptors/shape.ts:54
center?
optionalcenter?:Vector2
Defined in: render/descriptors/shape.ts:50
centerLeft?
optionalcenterLeft?:Vector2
Defined in: render/descriptors/shape.ts:57
centerRight?
optionalcenterRight?:Vector2
Defined in: render/descriptors/shape.ts:58
topCenter?
optionaltopCenter?:Vector2
Defined in: render/descriptors/shape.ts:55
topLeft?
optionaltopLeft?:Vector2
Defined in: render/descriptors/shape.ts:51
topRight?
optionaltopRight?:Vector2
Defined in: render/descriptors/shape.ts:52