MotionScript

@motion-script/core


@motion-script/core / SpaceRects

Interface: SpaceRects

Defined in: render/render-context.ts:62

Reference rects a fill can resolve against, supplied per-node at begin(). local is derived from the drawn shapes themselves and global (the viewport) is computed by the renderer from the surface size, so only the parent frame is passed here.

Properties

parent?

optional parent?: SpaceRect

Defined in: render/render-context.ts:64

The parent node's content rect, in this node's local space.