docx
    Preparing search index...

    Type Alias CustomShapeGeometry

    CustomShapeGeometry: {
        connectionPoints?: readonly CustomShapeConnectionPoint[];
        textArea?: CustomShapeTextArea;
    } & (
        | { path: string; paths?: undefined }
        | { path?: undefined; paths: readonly CustomShapePath[] }
    )

    The outline of a custom shape, and where its text and connection points go.

    Type Declaration

    • Optional ReadonlyconnectionPoints?: readonly CustomShapeConnectionPoint[]

      The points connectors attach to, in the units of the paths. Default is every corner and end of the paths

    • Optional ReadonlytextArea?: CustomShapeTextArea

      Where the text goes, in the units of the paths, such as the body of a speech bubble without its tail. Default is the whole shape

    • { path: string; paths?: undefined }
      • Readonlypath: string

        The outline of the shape as SVG path data, such as "M 0 0 L 100 0 L 50 80 Z" for a triangle. It can use the commands M, L, H, V, C, S, Q, T, A and Z, in any units: the path is scaled so the box around it fills the shape. A closed part of the path inside another part is a hole in it

      • Optional Readonlypaths?: undefined
    • { path?: undefined; paths: readonly CustomShapePath[] }
      • Optional Readonlypath?: undefined
      • Readonlypaths: readonly CustomShapePath[]

        Several paths, in the same units, each with its own fill and line. The box around all of them is scaled to fill the shape. Later paths are drawn over earlier ones