Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PositionedObjectPositioning

import type { PositionedObjectPositioning } from "https://googleapis.deno.dev/v1/docs:v1.ts";

The positioning of a PositionedObject. The positioned object is positioned relative to the beginning of the Paragraph it's tethered to.

interface PositionedObjectPositioning {
layout?:
| "POSITIONED_OBJECT_LAYOUT_UNSPECIFIED"
| "WRAP_TEXT"
| "BREAK_LEFT"
| "BREAK_RIGHT"
| "BREAK_LEFT_RIGHT"
| "IN_FRONT_OF_TEXT"
| "BEHIND_TEXT";
leftOffset?: Dimension;
topOffset?: Dimension;
}

§Properties

§
layout?: "POSITIONED_OBJECT_LAYOUT_UNSPECIFIED" | "WRAP_TEXT" | "BREAK_LEFT" | "BREAK_RIGHT" | "BREAK_LEFT_RIGHT" | "IN_FRONT_OF_TEXT" | "BEHIND_TEXT"
[src]

The layout of this positioned object.

§
leftOffset?: Dimension
[src]

The offset of the left edge of the positioned object relative to the beginning of the Paragraph it's tethered to. The exact positioning of the object can depend on other content in the document and the document's styling.

§
topOffset?: Dimension
[src]

The offset of the top edge of the positioned object relative to the beginning of the Paragraph it's tethered to. The exact positioning of the object can depend on other content in the document and the document's styling.