@motion-script/core / GraphicsTransform
Interface: GraphicsTransform
Defined in: render/graphics.ts:26
A union-level rotate/scale applied to the whole drawn silhouette. center is
the pivot the union turns about: either an explicit Vector2 in the
graphics' local coordinate space, or a named anchor ('center',
'topRight', …) the renderer resolves against the union's bounding box. When
omitted the renderer pivots about the centre of that bounding box.
Properties
center?
optionalcenter?:Anchor
Defined in: render/graphics.ts:29
rotation
rotation:
number
Defined in: render/graphics.ts:27
scale
scale:
number
Defined in: render/graphics.ts:28