Skip to content
Document Authoring DA  API Docs v1.18.0
npmGitHub

ShapeOutline

ShapeOutline:

Outline (stroke) of a Shape.

An outline is drawn only when it has both a color and a width; null for either color or width means no outline is drawn, the same way a paragraph or table border needs both to be visible.

color: string | null

Outline color as a hex string (for example '#000000'), or null for no outline.


width: number | null

Outline width in points (1 point = 1/72 inch), or null for no outline.


optional alpha: number | null

Outline opacity as a fraction between 0 (fully transparent) and 1 (fully opaque). null or omitted means fully opaque.