Skip to content

cupertino-files / tswpSchema / DrawableAttachment

Variable: DrawableAttachment

const DrawableAttachment: Readonly<Record<"DRAWABLE" | "H_OFFSET_TYPE" | "H_OFFSET" | "V_OFFSET_TYPE" | "V_OFFSET", number>>

Defined in: src/tswp/schema.ts:352

TSWP.DrawableAttachmentArchive — an inline drawable's anchor.

All four offset fields are present on 101 of 101 corpus attachments, and zero is the common value (h_offset 0 in 50, v_offset_type 0 in 92). They are optional, so omitting them is well-formed; whether Pages reads an absent offset as zero or as "no placement" is the question the inline image rung asks.

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.