Type alias Paragraph

Paragraph: {
    contents?: InlineElement[] | string;
    groupId?: number;
    properties?: ParagraphProps;
    rect: Rect;
    textStyle?: TextStyle;
    type: "paragraph";
}

Type declaration

  • Optional contents?: InlineElement[] | string
  • Optional groupId?: number

    a number used to identify elements that are semantically continuous, for example, a table that has broken across pages would be represented by multiple elements, but all with the same group ID

  • Optional properties?: ParagraphProps
  • rect: Rect
  • Optional textStyle?: TextStyle
  • type: "paragraph"