Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/figmaTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ export interface FrameBase extends Global {
readonly opacity?: number;
/** Bounding box of the node in absolute space coordinates */
readonly absoluteBoundingBox: Rect;
/** The bounds of the rendered node in the file in absolute space coordinates */
readonly absoluteRenderBounds: Rect;

/**
* Width and height of element. This is different from the width and height
Expand Down Expand Up @@ -403,6 +405,8 @@ export interface VectorBase extends Global {
readonly opacity?: number;
/** Bounding box of the node in absolute space coordinates */
readonly absoluteBoundingBox: Rect;
/** The bounds of the rendered node in the file in absolute space coordinates */
readonly absoluteRenderBounds: Rect;

/**
* Width and height of element. This is different from the width and height
Expand Down Expand Up @@ -545,6 +549,8 @@ export interface Slice extends Global {
readonly exportSettings: ReadonlyArray<ExportSetting>;
/** Bounding box of the node in absolute space coordinates */
readonly absoluteBoundingBox: Rect;
/** The bounds of the rendered node in the file in absolute space coordinates */
readonly absoluteRenderBounds: Rect;
/**
* Width and height of element. This is different from the width and height
* of the bounding box in that the absolute bounding box represents the
Expand Down