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

ShapeCustomGeometry

ShapeCustomGeometry:

A free-form Shape geometry (for example a shape drawn with Word’s Freeform tool, or a preset edited via “Edit Points”), described as one or more outline paths.

The geometry carries only the outline. Fill and border come from the shape’s Shape.fill and Shape.outline, exactly as for preset geometries.

type: "custom"

Discriminant for the geometry variant.


paths: ShapeCustomGeometryPath[]

The outline paths. All paths share the shape’s fill and outline.